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

TransformsProvider.PageCurl Method (SizeF, Direction, Orientation, Color, Color)

Applies page curl effect.

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

Syntax

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

Parameters

size

Type: System.Drawing.SizeF

Size of the page corner to curl.
corner

Type: Aurigma.GraphicsMill.Transforms.Direction

Direction specifying a corner of the image to curl.
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.

Remarks

You can also use PageCurl class to apply this effect.

See Also

Reference