Represents the geometry for a shape or connector.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
'Declaration Public MustInherit Class ShapeGeometry _ Implements IDisposable
'Usage Dim instance As ShapeGeometry
public abstract class ShapeGeometry : IDisposable
public ref class ShapeGeometry abstract : IDisposable
public abstract class ShapeGeometry implements IDisposable
This class and its derivatives deal with operations and calculations associated with the outline of the shape. There is a subclass for each of the major kinds of shape, such as ImageShapeGeometry, CompartmentShapeGeometry, and LinkShapeGeometry. By default, your shape or connector class is associated with one of these standard geometry classes.
To override functions of ShapeGeometry:
Create your own class derived from one of the standard subclasses of ShapeGeometry. Do not add state variables to this class.
In your shape class, override the ShapeGeometry property to return an instance of your ShapeGeometry subclass.
ShapeGeometry is a lightweight class – it has no state, so that you can share an instance between all the instances of a shape class.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Added descriptions of class and members.