TransformCanvasMode Enum

Selects the canvas of a transformed image (TransformOptions.CanvasMode).

public enum TransformCanvasMode

Fields

NameValueDescription
Expand0The smallest canvas that holds the whole transformed image, with the transformed image centered in it: the translation of the transformation does not matter. This is the default.
Keep1The canvas keeps the size of the image; what the transformation moves outside of it is cut.
Explicit2The canvas has the size of TransformOptions.CanvasSize.