Table of Contents

Class Crop

Namespace
SharpDX.Direct2D1.Effects
Assembly
SharpDX.Direct2D1.dll

Built in Crop effect.

public class Crop : Effect
Inheritance
Crop
Inherited Members

Constructors

Crop(DeviceContext)

Initializes a new instance of Crop effect.

public Crop(DeviceContext context)

Parameters

context DeviceContext

Properties

Rectangle

The region to be cropped specified as a vector in the form (left, top, width, height). The units are in DIPs.

public RawVector4 Rectangle { get; set; }

Property Value

RawVector4

Remarks

The rectangle will be truncated if it overlaps the edge boundaries of the input image.