Sdílet prostřednictvím


BinaryLinkShapeGeometry Class

Definition

class BinaryLinkShapeGeometry Encapsulate drawing, folding, and hit testing a BinaryLink on the design surface

public ref class BinaryLinkShapeGeometry : Microsoft::VisualStudio::Modeling::Diagrams::LinkShapeGeometry
public class BinaryLinkShapeGeometry : Microsoft.VisualStudio.Modeling.Diagrams.LinkShapeGeometry
type BinaryLinkShapeGeometry = class
    inherit LinkShapeGeometry
Public Class BinaryLinkShapeGeometry
Inherits LinkShapeGeometry
Inheritance
BinaryLinkShapeGeometry

Constructors

BinaryLinkShapeGeometry()

Initializes a new instance of the BinaryLinkShapeGeometry class.

Properties

ShadowOffset

Gets the shadow offset in world units.

(Inherited from ShapeGeometry)
UninitializedPath

get/set the graphics path This is a singleton on the geometry class. Do not dispose. Use immediately. Use GetPathCopy if another path is needed!

(Inherited from ShapeGeometry)

Methods

AddLineArcPath(GraphicsPath, PointD, PointD)

Adds a jump-over arc to the specified GraphicsPath.

(Inherited from LinkShapeGeometry)
CalculateRotationAngle(PointD, PointD)

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

(Inherited from LinkShapeGeometry)
Dispose() (Inherited from ShapeGeometry)
Dispose(Boolean) (Inherited from ShapeGeometry)
DoFoldToShape(IGeometryHost, PointD, PointD)

Calculates the point along the vector which crosses the outline of the geometry.

(Inherited from LinkShapeGeometry)
DoHitTest(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)
DoHitTest(IGeometryHost, PointD, DiagramHitTestInfo)

Returns a value indicating whether the given point is within the boundary of the geometry. The hit test results are also returned.

(Inherited from ShapeGeometry)
DoHitTestSelection(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.

(Inherited from LinkShapeGeometry)
DoPaint(DiagramPaintEventArgs, IGeometryHost)

Draws the geometry and its shadow if it has one.

(Inherited from ShapeGeometry)
DoPaintEmphasis(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.)

(Inherited from LinkShapeGeometry)
DoPaintGeometry(DiagramPaintEventArgs, IGeometryHost)

Draws the basic geometry.

DoPaintResizeFeedback(DiagramPaintEventArgs, IGeometryHost, RectangleD)

Draws the resize feedback for the geometry.

(Inherited from LinkShapeGeometry)
DoPaintSelection(DiagramPaintEventArgs, IGeometryHost, Boolean, Boolean, Boolean)

Draws a selection typically surrounding the geometry.

(Inherited from LinkShapeGeometry)
DoPaintShadow(DiagramPaintEventArgs, IGeometryHost)

Draws the geometry's shadow.

(Inherited from ShapeGeometry)
GetBackgroundBrushId(IGeometryHost)

Returns the background brush id to use for drawing the geometry's background.

(Inherited from ShapeGeometry)
GetExtraPenWidth(IGeometryHost)

Gets the portion of the pen width which draws outside the borders of the geometry; i.e., outside the graphics path used to draw the geometry.

(Inherited from ShapeGeometry)
GetOutlinePenId(IGeometryHost)

Returns the outline pen id to use for drawing the geometry's outline.

(Inherited from ShapeGeometry)
GetPath(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)
GetPath(RectangleD)

Gets the GraphicsPath of the geometry in world units relative to the top-left of the IGeometryHost's parent. This is a singleton on the geometry. Do not dispose - this will crash! Use immediately. Use GetPathCopy if another path is needed!

(Inherited from ShapeGeometry)
GetPathCopy(IGeometryHost)

Gets an unique copy of the path. Caller is resposible for disposal.

(Inherited from ShapeGeometry)
GetPerimeter(IGeometryHost)

Gets the graphics path which encompasses the geometry outline, including the thickness of the outline pen that lies outside of the graphics path used to draw the geometry. This is a singleton on the geometry class. Do not dispose. Use immediately. Use GetPathCopy if another path is needed!

(Inherited from ShapeGeometry)
GetPerimeterBoundingBox(IGeometryHost)

Gets the rectangular bounds which encompasses the geometry outline, including the thickness of the outline pen that lies outside of the graphics path used to draw the geometry.

(Inherited from ShapeGeometry)
GetSelectionLineOffset(DiagramClientView)

Returns the distance in world units between the visible selection line and the outside of the shape.

(Inherited from ShapeGeometry)
GetSelectionLineWidth(DiagramClientView)

Returns the width of the visible selection line in world units.

(Inherited from ShapeGeometry)
HasFilledBackground(IGeometryHost)

Returns a value indicating whether the background of the geometry will be filled.

(Inherited from ShapeGeometry)
HasOutline(IGeometryHost)

Returns a value indicating whether the outline of the geometry will be drawn.

(Inherited from ShapeGeometry)
HasShadow(IGeometryHost)

Returns a value indicating whether the geometry has a shadow.

(Inherited from ShapeGeometry)

Applies to