User Tools

Site Tools


DzRotateManip

Inherits :

Enumerations

DAZ Script
Rotation{ RotNone, Rot90, Rot180, Rot270 }

Properties

DAZ Script
Numberdegrees

Constructors

DAZ Script
DzRotateManip ( Rotation rot=RotNone )

Methods

DAZ Script
NumbergetDegrees ()
RotationgetRotation ()
voidsetDegrees ( Number deg )
voidsetRotation ( Rotation rot )

Detailed Description

A manipulator that rotates an image layer in 90 degree increments.

Enumerations


: Rotation

The enumerated values of possible rotations to be performed.

  • RotNone - No rotation is performed.
  • Rot90 - A 90 degree (clockwise) rotation is performed.
  • Rot180 - A 180 degree rotation is performed.
  • Rot270 - A 270 degree (clockwise) rotation is performed.

Properties


Number : degrees

TODO: Add description.

Constructors


DzRotateManip( Rotation rot=RotNone )

Holds the amount of rotation, in degrees.

Default Constructor

Methods


Number : getDegrees()

Return Value:

  • The number of degrees the image will be rotated. Currently, the only possible values are 0, 90, 180, 270.

Rotation : getRotation()

Return Value:

  • The type of rotation for the image.

void : setDegrees( Number deg )

Sets the amount of rotation for the image.

Parameter(s):

  • degrees - The number of degrees to rotate the image. Currently, the only supported values are 0, 90, 180, 270. All other values are ignored.

void : setRotation( Rotation rot )

Sets the type of rotation for the image.

Parameter(s):

  • rot - The rotation to apply to the image.