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

PageCurl Constructor (SizeF, Direction, Orientation, Color, Color)

Creates and initializes new PageCurl class instance. You can set all curl parameters here.

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

Syntax

Visual Basic
Public Sub New ( _
	size As SizeF, _
	corner As Direction, _
	orientation As Orientation, _
	curlColor As Color, _
	backgroundColor As Color _
)
C#
public PageCurl(
	SizeF size,
	Direction corner,
	Orientation orientation,
	Color curlColor,
	Color backgroundColor
)

Parameters

size

Type: System.Drawing.SizeF

Size of the image corner to curl. You can change it later using Width and Height properties.
corner

Type: Aurigma.GraphicsMill.Transforms.Direction

Direction specifying a corner of the image to curl. You can change this value later using Corner property.
orientation

Type: Aurigma.GraphicsMill.Transforms.Orientation

Orientation value that specifies orientation of the curl. You can change this value later using Orientation property.
curlColor

Type: Aurigma.GraphicsMill.Color

Value specifying a curl color. You can change this value later using CurlColor property.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Value specifying background color for the curled image. You can change this value later using BackgroundColor property.

See Also

Reference