Class LineSegment
Represents line segment of a shape.
Inheritance
Namespace: Telerik.Reporting.Drawing.Shapes
Assembly: Telerik.Reporting.dll
Syntax
public class LineSegment : IShapeSegment
Constructors
LineSegment(PointF, PointF)
Initializes a new instance of the LineSegment class with the specified points.
Declaration
public LineSegment(PointF point1, PointF point2)
Parameters
System.Drawing.PointF
point1
The start point of the line segment. |
System.Drawing.PointF
point2
The end point of the line segment. |
Properties
EndPoint
Gets the end point of this segment.
Declaration
public PointF EndPoint { get; set; }
Property Value
System.Drawing.PointF
The end point of the segment. |
Length
Gets the length of the line.
Declaration
public float Length { get; }
Property Value
System.Single
A float value representing the lenght of the line segment. |
Points
Gets the points of this segment.
Declaration
public PointF[] Points { get; }
Property Value
System.Drawing.PointF[]
A point array representing the points of the segment. |
Implements
StartPoint
Gets the start point of this segment.
Declaration
public PointF StartPoint { get; set; }
Property Value
System.Drawing.PointF
The start point of the segment. |