Enum AnchorPositionMode
Enumerated anchor positions to apply to resized images.
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public enum AnchorPositionMode
Fields
Name | Description |
---|---|
Bottom | Anchors the position of the image to the bottom of it's bounding container. |
BottomLeft | Anchors the position of the image to the bottom left side of it's bounding container. |
BottomRight | Anchors the position of the image to the bottom right side of it's bounding container. |
Center | Anchors the position of the image to the center of it's bounding container. |
Left | Anchors the position of the image to the left of it's bounding container. |
Right | Anchors the position of the image to the right of it's bounding container. |
Top | Anchors the position of the image to the top of it's bounding container. |
TopLeft | Anchors the position of the image to the top left side of it's bounding container. |
TopRight | Anchors the position of the image to the top right side of it's bounding container. |