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