LinkShapeGeometry Class

 

Encapsulates drawing, folding, and hit testing a link geometry on the design surface

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)


public class LinkShapeGeometry : ShapeGeometry

NameDescription
System_CAPS_pubmethodLinkShapeGeometry()

Initializes a new instance of the LinkShapeGeometry class.

NameDescription
System_CAPS_pubpropertyShadowOffset

Gets the offset between the shape outline and the outer edge of the shadow.(Inherited from ShapeGeometry.)

System_CAPS_protpropertyUninitializedPath

Gets the path around the shape geometry.(Inherited from ShapeGeometry.)

NameDescription
System_CAPS_pubmethodAddLineArcPath(GraphicsPath, PointD, PointD)

Adds a jump-over arc to the specified GraphicsPath.

System_CAPS_pubmethodCalculateRotationAngle(PointD, PointD)

Calculates the rotation angle of a link shape's decorator.

System_CAPS_protmethodSystem_CAPS_staticCreateDiagramItem(IGeometryHost, LineSegment)

Creates a DiagramItem object given an IGeometryHost object.

System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the ShapeGeometry class.(Inherited from ShapeGeometry.)

System_CAPS_protmethodDispose(Boolean)

(Inherited from ShapeGeometry.)

System_CAPS_pubmethodDoFoldToShape(IGeometryHost, PointD, PointD)

Calculates the point along the vector which crosses the outline of the geometry.(Overrides ShapeGeometry.DoFoldToShape(IGeometryHost, PointD, PointD).)

System_CAPS_pubmethodDoHitTest(IGeometryHost, PointD, DiagramHitTestInfo)

Determines whether a point is inside a shape.(Inherited from ShapeGeometry.)

System_CAPS_pubmethodDoHitTest(IGeometryHost, PointD, DiagramHitTestInfo, Boolean)

Returns a value indicating whether the given point is within the boundary of the geometry. The hit test results are also returned.(Overrides ShapeGeometry.DoHitTest(IGeometryHost, PointD, DiagramHitTestInfo, Boolean).)

System_CAPS_pubmethodDoHitTestSelection(IGeometryHost, PointD, DiagramHitTestInfo)

Returns a value indicating whether the given point is within the boundary of the geometry's surrounding selection feedback. The hit test results are also returned.(Overrides ShapeGeometry.DoHitTestSelection(IGeometryHost, PointD, DiagramHitTestInfo).)

System_CAPS_pubmethodDoPaint(DiagramPaintEventArgs, IGeometryHost)

Draws the shape geometry, and its shadow if it has one.(Inherited from ShapeGeometry.)

System_CAPS_pubmethodDoPaintEmphasis(DiagramPaintEventArgs, IGeometryHost)

Draws visual emphasis on the shape. This does not indicate selection, it only draws the user's attention to this shape when another shape is selected. (See ShapeElement.RelatedShapeToEmphasize.)(Overrides ShapeGeometry.DoPaintEmphasis(DiagramPaintEventArgs, IGeometryHost).)

System_CAPS_protmethodDoPaintGeometry(DiagramPaintEventArgs, IGeometryHost)
System_CAPS_pubmethodDoPaintResizeFeedback(DiagramPaintEventArgs, IGeometryHost, RectangleD)
System_CAPS_pubmethodDoPaintSelection(DiagramPaintEventArgs, IGeometryHost, Boolean, Boolean, Boolean)

Draws a selection typically surrounding the geometry.(Overrides ShapeGeometry.DoPaintSelection(DiagramPaintEventArgs, IGeometryHost, Boolean, Boolean, Boolean).)

System_CAPS_protmethodDoPaintShadow(DiagramPaintEventArgs, IGeometryHost)

Draws the shadow for the shape.(Inherited from ShapeGeometry.)

System_CAPS_protmethodSystem_CAPS_staticDrawDecorator(DiagramPaintEventArgs, IGeometryHost, Single, PointD, LinkDecorator, SizeD)

Draws the LinkShape's decorator.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBackgroundBrushId(IGeometryHost)

Gets the ID that is assigned to the brush that paints the background of the shape geometry.(Inherited from ShapeGeometry.)

System_CAPS_pubmethodGetExtraPenWidth(IGeometryHost)

Gets the width of the outline pen that is outside the boundary of the shape.(Inherited from ShapeGeometry.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetOutlinePenId(IGeometryHost)

Gets the ID that is assigned to the brush that paints the outline of the shape geometry.(Inherited from ShapeGeometry.)

System_CAPS_pubmethodGetPath(IGeometryHost)

Gets the GraphicsPath describing the geometry. This returns a rectangle path by default. This is a singleton on the geometry. Do not dispose. This is a singleton on the geometry class. Do not dispose. Use immediately. Use GetPathCopy if another path is needed!(Overrides ShapeGeometry.GetPath(IGeometryHost).)

System_CAPS_protmethodGetPath(RectangleD)

Gets the path around the shape geometry.(Inherited from ShapeGeometry.)

System_CAPS_pubmethodGetPathCopy(IGeometryHost)

Gets a copy of the path around the shape geometry. Dispose the path when you have finished with it.(Inherited from ShapeGeometry.)

System_CAPS_pubmethodGetPerimeter(IGeometryHost)

Gets the path of the perimeter around the shape, including the width of the pen that draws the boundary. Make a copy of this path if you want to retain it.(Inherited from ShapeGeometry.)

System_CAPS_protmethodGetPerimeterBoundingBox(IGeometryHost)

Gets the bounding box around the perimeter of the shape, including the thickness of the pen that draws the boundary.(Inherited from ShapeGeometry.)

System_CAPS_pubmethodGetSelectionLineOffset(DiagramClientView)

Gets the distance between the selection and the outside of the shape geometry.(Inherited from ShapeGeometry.)

System_CAPS_pubmethodGetSelectionLineWidth(DiagramClientView)

Gets the width of the line that indicates that a shape is selected.(Inherited from ShapeGeometry.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodHasFilledBackground(IGeometryHost)

True if this type of geometry has a filled background.(Inherited from ShapeGeometry.)

System_CAPS_protmethodHasOutline(IGeometryHost)

True if this type of geometry has a visible border.(Inherited from ShapeGeometry.)

System_CAPS_protmethodHasShadow(IGeometryHost)

True if this type of geometry has a shadow.(Inherited from ShapeGeometry.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The object that implements IGeometryHost should also implement IBinaryLinkGeometryData.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: