Animation.setCentered

Overview | Methods | This Package | All Packages

Animation.setCentered

Sets a boolean value indicating whether the animation will appear in the center of the Animation control.

Syntax

public final void setCentered( boolean value )

Parameters

value

Set to true if the animation will be centered within the Animation control; set to false if the animation will be placed in the upper-left corner of the Animation control. The default value is false.

Remarks

If the animation is not centered, it will appear in the upper-left corner of the control. To get the value of the centered property, use the getCentered method.

See Also   getCentered