PeachImage
PeachImage
AnchorPosition Enum
Which part of the source survives cropping (Crop), or where the source is placed within the padded canvas (Pad). Ignored for Exact and Max.
public enum AnchorPosition
Fields
TopLeft 0
The top-left corner.
TopCenter 1
The top edge, horizontally centered.
TopRight 2
The top-right corner.
MiddleLeft 3
The left edge, vertically centered.
MiddleCenter 4
The center. The default.
MiddleRight 5
The right edge, vertically centered.
BottomLeft 6
The bottom-left corner.
BottomCenter 7
The bottom edge, horizontally centered.
BottomRight 8
The bottom-right corner.