StructRadLine
Struct
Represents a line segment defined by two points, providing geometric operations for charting applications.
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.dll
Syntax:
cs-api-definition
public struct RadLine
Inherited Members
Constructors
RadLine(RadPoint, RadPoint)
Initializes a new instance of the RadLine struct.
RadLine(double, double, double, double)
Initializes a new instance of the RadLine struct.
Declaration
cs-api-definition
public RadLine(double x1, double x2, double y1, double y2)
Parameters
x1
The X-coordinate of the line start point.
x2
The X-coordinate of the line end point.
y1
The Y-coordinate of the line start point.
y2
The Y-coordinate of the line end point.
Fields
X1
The X-coordinate of the line start point.
X2
The X-coordinate of the line end point.
Y1
The Y-coordinate of the line start point.
Methods
Round(RadLine)
Rounds the line's coordinate values to the nearest whole numbers.