You’re viewing outdated documentation. View the latest Graphics Mill documentation.

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

Applies to: Graphics Mill 5.5, 3.x-5.x (may differ) · Archived documentation

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 ( _
	width As Single, _
	height As Single, _
	corner As Direction, _
	orientation As Orientation, _
	curlColor As Color, _
	backgroundColor As Color _
)
C#
public PageCurl(
	float width,
	float height,
	Direction corner,
	Orientation orientation,
	Color curlColor,
	Color backgroundColor
)

Parameters

width

Type: System.Single

Width of the image corner to curl. You can change this value later using Width property.
height

Type: System.Single

Height of the image corner to curl. You can change this value later using Height property.
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