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

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

Applies page curl effect.

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

Syntax

Visual Basic
Public Sub PageCurl ( _
	width As Single, _
	height As Single, _
	corner As Direction, _
	orientation As Orientation, _
	curlColor As Color, _
	backgroundColor As Color _
)
C#
public void PageCurl(
	float width,
	float height,
	Direction corner,
	Orientation orientation,
	Color curlColor,
	Color backgroundColor
)

Parameters

width

Type: System.Single

Width of the page corner to curl.
height

Type: System.Single

Height 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