Package | com.yworks.graph.drawing.common |
Class | public class VoidPathGeometry |
Inheritance | VoidPathGeometry Object |
Implements | IPathGeometry |
IPathGeometry
interface that does nothing and behaves like an empty path.
This class implements the singleton pattern. Use the shared static
instance
of this class instead of
null
were null
is not allowed.
The VoidEdgeStyleRenderer
does so for example.
Property | Defined By | ||
---|---|---|---|
instance : VoidPathGeometry [static] [read-only] | VoidPathGeometry |
Method | Defined By | ||
---|---|---|---|
VoidPathGeometry | |||
getSegmentCount():int | VoidPathGeometry | ||
VoidPathGeometry | |||
VoidPathGeometry |
instance | property |
instance:VoidPathGeometry
[read-only] public static function get instance():VoidPathGeometry
getPath | () | method |
getSegmentCount | () | method |
public function getSegmentCount():int
Returnsint |
getSegmentTangent | () | method |
public function getSegmentTangent(segment:int, ratio:Number, p:YPoint, v:YPoint):Boolean
Parameters
segment:int | |
ratio:Number | |
p:YPoint | |
v:YPoint |
Boolean |
getTangent | () | method |
public function getTangent(ratio:Number, p:YPoint, v:YPoint):Boolean
Parameters
ratio:Number | |
p:YPoint | |
v:YPoint |
Boolean |