LineSegment Class

 

This class represents a straight piece of line between two end points.

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

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::LineSegment

public ref class LineSegment 

NameDescription
System_CAPS_pubmethodLineSegment(LinkShape^, Int32, Int32)

Constructor that takes the parent LinkShape and indices for the two end points.

System_CAPS_pubmethodLineSegment(PointD, PointD)

Constructor that takes the two end points

System_CAPS_pubmethodLineSegment(PointD, PointD, Int32, Int32, Boolean, Boolean, RectangleD)

Constructor that takes the two end points and its segment index.

NameDescription
System_CAPS_pubpropertyAbsoluteBounds

Gets the absolute bounding rectangle represented by this line segment.

System_CAPS_pubpropertyCenterPoint

Get the center point for the line segment.

System_CAPS_pubpropertyEndIndex

Get the index of the end point in the LinkShape's edge points.

System_CAPS_pubpropertyEndPoint

Gets the end point of the line segment.

System_CAPS_pubpropertyEndPointF

Gets the end point of the line segment.

System_CAPS_pubpropertyIsEndSegment

Get whether this is the end segment in the LinkShape.

System_CAPS_pubpropertyIsStartSegment

Get whether this is the start segment in the LinkShape.

System_CAPS_pubpropertyLength

Gets the length of the line segment.

System_CAPS_pubpropertyStartIndex

Get the index of the start point in the LinkShape's edge points.

System_CAPS_pubpropertyStartPoint

Gets the starting point of the line segment.

System_CAPS_pubpropertyStartPointF

Gets the starting point of the line segment.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Gets a value indicating whether two LineSegment objects are equal.(Overrides Object::Equals(Object^).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetAccessibilityObject(ShapeElement^, DiagramClientView^)

Gets the AccessibleObject assigned to the line segment.

System_CAPS_pubmethodGetAccessibleDescription(LinkShape^)

Returns the accessible description.

System_CAPS_pubmethodGetAccessibleHelp(LinkShape^)

Gets a description of what the object does or how the object is used.

System_CAPS_pubmethodGetAccessibleHelpTopicFileName(LinkShape^)

Gets the path to the Help file associated with this accessible object.

System_CAPS_pubmethodGetAccessibleHelpTopicId(LinkShape^)

Gets an identifier for a Help topic identifier associated with this accessible object.

System_CAPS_pubmethodGetAccessibleName(LinkShape^, DiagramClientView^)

Returns the accessible name.

System_CAPS_pubmethodGetAccessibleRole(LinkShape^)

Retrieves the accessible role of this LineSegment.

System_CAPS_pubmethodGetAccessibleState(LinkShape^, DiagramClientView^)

Retrieves the accessible state of this LineSegment.

System_CAPS_pubmethodGetFocusable(ShapeElement^)

Returns a value indicating whether this segment is focusable.

System_CAPS_pubmethodGetHashCode()

Gets a hash code for this LineSegment.(Overrides Object::GetHashCode().)

System_CAPS_pubmethodGetSelectable(ShapeElement^)

Returns a value indicating whether this segment is selectable.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsHorizontal()

Detects whether the segment is horizontal.

System_CAPS_pubmethodIsStartAboveEnd()

Detects whether the starting point of the segment is above the end point.

System_CAPS_pubmethodIsStartLeftOfEnd()

Detects whether the starting point of the segment is left of the end point.

System_CAPS_pubmethodIsVertical()

Detects whether the segment is vertical

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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: