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

Cylindrize Constructor (Single, Single, Single, Color, Color, InterpolationMode)

Creates new Cylindrize class instance. You can set here cylinder parameters (half-perimeter and height), slope angle, and appearance details (colors, interpolation mode).

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

Syntax

Visual Basic
Public Sub New ( _
	slopeAngle As Single, _
	cylinderHalfPerimeter As Single, _
	cylinderHeight As Single, _
	cylinderColor As Color, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public Cylindrize(
	float slopeAngle,
	float cylinderHalfPerimeter,
	float cylinderHeight,
	Color cylinderColor,
	Color backgroundColor,
	InterpolationMode interpolationMode
)

Parameters

slopeAngle

Type: System.Single

Slope angle of the cylinder. It can be changed later via SlopeAngle property.
cylinderHalfPerimeter

Type: System.Single

Positive number specifying half-perimeter of the cylinder. You can also specify -1. In this case width of the bitmap will be taken. This value can be changed later via CylinderHalfPerimeter property.
cylinderHeight

Type: System.Single

Positive number specifying height of the cylinder. You can also specify -1. In this case height of the bitmap will be taken. This value can be changed later via CylinderHeight property.
cylinderColor

Type: Aurigma.GraphicsMill.Color

Cylinder color value. This value can be changed later via CylinderColor property.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Background color value. This value can be changed later via BackgroundColor property.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value specifying interpolation algorithm used in the transform. This value can be changed later via InterpolationMode property.

See Also

Reference