A void implementation of the IShapeGeometry
interface that does nothing and behaves like an empty geometry.
Namespace: yWorks.yFiles.UI.Drawing.CommonAssembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
[SingletonSerializationAttribute] public sealed class VoidShapeGeometry : IShapeGeometry |
| Visual Basic |
|---|
<SingletonSerializationAttribute> _ Public NotInheritable Class VoidShapeGeometry _ Implements IShapeGeometry |
Remarks
This class implements the singleton pattern. Use the shared static
Instance of this class instead of
nullNothingnullptra null reference (Nothing in Visual Basic) were nullNothingnullptra null reference (Nothing in Visual Basic) is not allowed.
The VoidNodeStyleRenderer does so for example.
Inheritance Hierarchy
System..::..Object
yWorks.yFiles.UI.Drawing.Common..::..VoidShapeGeometry
yWorks.yFiles.UI.Drawing.Common..::..VoidShapeGeometry