Enum AnchorPositionMode
- Namespace
- SixLabors.ImageSharp.Processing
- Assembly
- SixLabors.ImageSharp.dll
Enumerated anchor positions to apply to resized images.
public enum AnchorPositionMode
Fields
Bottom = 2
Anchors the position of the image to the bottom of it's bounding container.
BottomLeft = 8
Anchors the position of the image to the bottom left side of it's bounding container.
BottomRight = 7
Anchors the position of the image to the bottom right side of it's bounding container.
Center = 0
Anchors the position of the image to the center of it's bounding container.
Left = 3
Anchors the position of the image to the left of it's bounding container.
Right = 4
Anchors the position of the image to the right of it's bounding container.
Top = 1
Anchors the position of the image to the top of it's bounding container.
TopLeft = 5
Anchors the position of the image to the top left side of it's bounding container.
TopRight = 6
Anchors the position of the image to the top right side of it's bounding container.