Package | org.cove.ape |
Class | public class AbstractConstraint |
Inheritance | AbstractConstraint ![]() |
Subclasses | SpringConstraint |
You should not instantiate this class directly -- instead use one of the subclasses.
Property | Defined by | ||
---|---|---|---|
![]() | alwaysRepaint : Boolean
For performance, fixed Particles and SpringConstraints don't have their
paint()
method called in order to avoid unnecessary redrawing. | AbstractItem | |
![]() | sprite : Sprite
Provides a Sprite to use as a container for drawing or adding children.
| AbstractItem | |
stiffness : Number
The stiffness of the constraint.
| AbstractConstraint | ||
![]() | visible : Boolean
The visibility of the item.
| AbstractItem |
stiffness | property |
stiffness:Number
[read-write]The stiffness of the constraint. Higher values result in result in stiffer constraints. Values should be > 0 and <= 1. Depending on the situation, setting constraints to very high values may result in instability.
Implementation public function get stiffness():Number
public function set stiffness(value:Number):void