| Package | com.kraftner.justlineon |
| Class | public class AbortRule |
See also
| Method | Defined by | ||
|---|---|---|---|
| AbortRule | |||
|
AwayFromCenter(p:Point, distance:Number):Boolean
[static]
Determines if the line is closer to the center of the Stage than a certain distance.
| AbortRule | ||
|
CloseToCenter(p:Point, distance:Number):Boolean
[static]
Determines if the line is closer to the center of the Stage than a certain distance.
| AbortRule | ||
|
OutOfStage(p:Point, offset:Number = 0):Boolean
[static]
Determines if the line has left the Stage or is a certain distance out of the Stage.
| AbortRule | ||
| AbortRule | () | constructor |
public function AbortRule()
| AwayFromCenter | () | method |
public static function AwayFromCenter(p:Point, distance:Number):BooleanDetermines if the line is closer to the center of the Stage than a certain distance. Aborts if too far away.
Parametersp:Point — Point to check
|
|
distance:Number — maximum distance the Point should be away from the center of the Stage.
|
Boolean |
See also
| CloseToCenter | () | method |
public static function CloseToCenter(p:Point, distance:Number):BooleanDetermines if the line is closer to the center of the Stage than a certain distance. Aborts if too close.
Parametersp:Point — Point to check
|
|
distance:Number — minimum distance the Point should be away from the center of the Stage.
|
Boolean |
See also
| OutOfStage | () | method |
public static function OutOfStage(p:Point, offset:Number = 0):BooleanDetermines if the line has left the Stage or is a certain distance out of the Stage.
Parametersp:Point — Point to check
|
|
offset:Number (default = 0) — distance the Point can be out of the Stage
|
Boolean |