Packagecom.yworks.graph.drawing.common
Classpublic class VoidEdgeStyleRenderer
InheritanceVoidEdgeStyleRenderer Inheritance AbstractVoidStyleRenderer Inheritance Object
Implements IEdgeStyleRenderer

A void implementation of an edge style renderer that does nothing.

Use the shared static instance of this class instead of null where null is not allowed. For example you cannot assign null to the styleRenderer property of an IEdgeStyle.



Public Properties
 PropertyDefined By
  instance : VoidEdgeStyleRenderer
[static] [read-only] The static shared instance.
VoidEdgeStyleRenderer
Public Methods
 MethodDefined By
 Inherited
Returns BoundsProvider.EMPTY, which always returns empty bounds.
AbstractVoidStyleRenderer
 Inherited
Returns com.yworks.support.Lookups#EMPTY.
AbstractVoidStyleRenderer
 Inherited
Returns VoidDisplayObjectCreator.instance, which won't draw anything.
AbstractVoidStyleRenderer
 Inherited
Returns HitTestables.getNever().
AbstractVoidStyleRenderer
 Inherited
Returns MarqueeTestable.never
AbstractVoidStyleRenderer
  
Always returns VoidPathGeometry.instance.
VoidEdgeStyleRenderer
Property Detail
instanceproperty
instance:VoidEdgeStyleRenderer  [read-only]

The static shared instance.


Implementation
    public static function get instance():VoidEdgeStyleRenderer
Method Detail
getPathGeometry()method
public function getPathGeometry(edge:IEdge, style:IEdgeStyle):IPathGeometry

Always returns VoidPathGeometry.instance.

Parameters

edge:IEdge
 
style:IEdgeStyle

Returns
IPathGeometry — VoidPathGeometry.instance

See also