Export (0) Print
Expand All

BinaryLinkShapeGeometry Class

Encapsulates drawing, folding, and hit testing a BinaryLink 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 BinaryLinkShapeGeometry : LinkShapeGeometry

The BinaryLinkShapeGeometry type exposes the following members.

  NameDescription
Public methodBinaryLinkShapeGeometryInitializes a new instance of the BinaryLinkShapeGeometry class.
Top

  NameDescription
Public propertyShadowOffsetGets the offset between the shape outline and the outer edge of the shadow. (Inherited from ShapeGeometry.)
Protected propertyUninitializedPathGets the path around the shape geometry. (Inherited from ShapeGeometry.)
Top

  NameDescription
Public methodAddLineArcPathAdds a jump-over arc to the specified GraphicsPath. (Inherited from LinkShapeGeometry.)
Public methodCalculateRotationAngleCalculates the rotation angle of a link shape's decorator. (Inherited from LinkShapeGeometry.)
Public methodDispose()Releases all resources used by the current instance of the ShapeGeometry class. (Inherited from ShapeGeometry.)
Protected methodDispose(Boolean) (Inherited from ShapeGeometry.)
Public methodDoFoldToShapeCalculates the point along the vector which crosses the outline of the geometry. (Inherited from LinkShapeGeometry.)
Public methodDoHitTest(IGeometryHost, PointD, DiagramHitTestInfo)Determines whether a point is inside a shape. (Inherited from ShapeGeometry.)
Public methodDoHitTest(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. (Inherited from LinkShapeGeometry.)
Public methodDoHitTestSelectionReturns 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. (Inherited from LinkShapeGeometry.)
Public methodDoPaintDraws the shape geometry, and its shadow if it has one. (Inherited from ShapeGeometry.)
Public methodDoPaintEmphasisDraws 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.) (Inherited from LinkShapeGeometry.)
Protected methodDoPaintGeometryDraws the basic geometry. (Overrides LinkShapeGeometry.DoPaintGeometry(DiagramPaintEventArgs, IGeometryHost).)
Public methodDoPaintResizeFeedbackDraws the resize feedback for the geometry. (Inherited from LinkShapeGeometry.)
Public methodDoPaintSelectionDraws a selection typically surrounding the geometry. (Inherited from LinkShapeGeometry.)
Protected methodDoPaintShadowDraws the shadow for the shape. (Inherited from ShapeGeometry.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetBackgroundBrushIdGets the ID that is assigned to the brush that paints the background of the shape geometry. (Inherited from ShapeGeometry.)
Public methodGetExtraPenWidthGets the width of the outline pen that is outside the boundary of the shape. (Inherited from ShapeGeometry.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetOutlinePenIdGets the ID that is assigned to the brush that paints the outline of the shape geometry. (Inherited from ShapeGeometry.)
Public methodGetPath(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! (Inherited from LinkShapeGeometry.)
Protected methodGetPath(RectangleD)Gets the path around the shape geometry. (Inherited from ShapeGeometry.)
Public methodGetPathCopyGets a copy of the path around the shape geometry. Dispose the path when you have finished with it. (Inherited from ShapeGeometry.)
Public methodGetPerimeterGets 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.)
Protected methodGetPerimeterBoundingBoxGets the bounding box around the perimeter of the shape, including the thickness of the pen that draws the boundary. (Inherited from ShapeGeometry.)
Public methodGetSelectionLineOffsetGets the distance between the selection and the outside of the shape geometry. (Inherited from ShapeGeometry.)
Public methodGetSelectionLineWidthGets the width of the line that indicates that a shape is selected. (Inherited from ShapeGeometry.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodHasFilledBackgroundTrue if this type of geometry has a filled background. (Inherited from ShapeGeometry.)
Protected methodHasOutlineTrue if this type of geometry has a visible border. (Inherited from ShapeGeometry.)
Protected methodHasShadowTrue if this type of geometry has a shadow. (Inherited from ShapeGeometry.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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