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