[]
Builtin Crop effect.
public class Crop : Effect, IDisposable, IUnknown
Initializes a new instance of the Crop class.
public Crop(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
The region to be cropped specified as a vector in the form (left, top, width, height). The units are in DIPs.
public Vector4 Rectangle { get; set; }
The rectangle will be truncated if it overlaps the edge boundaries of the input image.
Initializes a new instance of Crop effect.
public static Crop Create(DeviceContext context)
context
DeviceContext