A void implementation of the IShapeGeometry interface that does nothing and behaves like an empty geometry.
Remarks
This class implements the singleton pattern. Use the shared static INSTANCE of this class instead of
null
were null
is not allowed. The VoidNodeStyleRenderer does so for example.Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.styles.VoidShapeGeometry
Methods
This implementation always returns null
(a T with no value).
This implementation returns an empty path.
Remarks
This means that the outline never intersects any line or contains any point.
Returns
- ↪GeneralPath
- The empty path.
See Also
Implements
This implementation always returns false
.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- location - Point
- The point to test.
Returns
- ↪boolean
false
See Also
Implements
Constants
The VoidShapeGeometry singleton.