A void implementation of the IShapeGeometry interface that does nothing and behaves like an empty geometry.

Namespace: yWorks.yFiles.UI.Drawing.Common
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

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

See Also