Share via


RoundedRectangleShapeGeometry.GetPath(RectangleD) Method

Definition

Gets the GraphicsPath of the geometry. This is a singleton on the geometry class. Do not dispose. Use immediately. Use GetPathCopy if another path is needed!

protected:
 override System::Drawing::Drawing2D::GraphicsPath ^ GetPath(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD boundingBox);
protected override System.Drawing.Drawing2D.GraphicsPath GetPath (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD boundingBox);
override this.GetPath : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> System.Drawing.Drawing2D.GraphicsPath
Protected Overrides Function GetPath (boundingBox As RectangleD) As GraphicsPath

Parameters

boundingBox
RectangleD

The bounding box to use for the geometry.

Returns

The GraphicsPath of the geometry.

Applies to