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

TransformsProvider.PageCurl Method (Int32, Int32, 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 Integer, _
	height As Integer, _
	corner As Direction, _
	orientation As Orientation, _
	curlColor As Color, _
	backgroundColor As Color _
)
C#
public void PageCurl(
	int width,
	int height,
	Direction corner,
	Orientation orientation,
	Color curlColor,
	Color backgroundColor
)

Parameters

width

Type: System.Int32

Width of the page corner to curl.
height

Type: System.Int32

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