This documentation is for the old version. Go to the latest Graphics Mill docs

Crop Constructor (Int32, Int32, Int32, Int32)

Creates new Crop class instance. You are specifying cropping rectangle here.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub New ( _
	x As Integer, _
	y As Integer, _
	width As Integer, _
	height As Integer _
)
C#
public Crop(
	int x,
	int y,
	int width,
	int height
)

Parameters

x

Type: System.Int32

X-coordinate for the left upper corner of the cropping rectangle. It can be changed later via Rectangle (using X property).
y

Type: System.Int32

Y-coordinate for the left upper corner of the cropping rectangle. It can be changed later via Rectangle (using Y property).
width

Type: System.Int32

Width of the cropping rectangle. It can be changed later via Rectangle (using Width property).
height

Type: System.Int32

Height of the cropping rectangle. It can be changed later via Rectangle (using Height property).

See Also

Reference