C# Класс Core2D.Shapes.XLineExtensions

Line shape extension methods.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetCurvedLineBezierControlPoints ( CurveOrientation orientation, double offset, PointAlignment p1a, PointAlignment p2a, double &p1x, double &p1y, double &p2x, double &p2y ) : void

Get curved line bezier curve control points.

GetMaxLength ( this line, double &x1, double &y1, double &x2, double &y2 ) : void

Get XLine maximum length using LineFixedLengthFlags.

GetMaxLengthAll ( this line, double &x1, double &y1, double &x2, double &y2 ) : void

Get XLine maximum length for LineFixedLengthFlags.All mode.

GetMaxLengthHorizontal ( this line, double &x1, double &x2 ) : void

Get XLine maximum length for LineFixedLengthFlags.Horizontal mode.

GetMaxLengthVertical ( this line, double &y1, double &y2 ) : void

Get XLine maximum length for LineFixedLengthFlags.Vertical mode.

Описание методов

GetCurvedLineBezierControlPoints() публичный статический Метод

Get curved line bezier curve control points.
public static GetCurvedLineBezierControlPoints ( CurveOrientation orientation, double offset, PointAlignment p1a, PointAlignment p2a, double &p1x, double &p1y, double &p2x, double &p2y ) : void
orientation CurveOrientation The curved line orientation.
offset double The curved line offset.
p1a PointAlignment The line start point alignment.
p2a PointAlignment The line end point alignment.
p1x double The adjusted X coordinate for curve start control point.
p1y double The adjusted Y coordinate for curve start control point.
p2x double The adjusted X coordinate for curve end control point.
p2y double The adjusted Y coordinate for curve end control point.
Результат void

GetMaxLength() публичный статический Метод

Get XLine maximum length using LineFixedLengthFlags.
public static GetMaxLength ( this line, double &x1, double &y1, double &x2, double &y2 ) : void
line this The line shape.
x1 double The calculated X coordinate for point.
y1 double The calculated Y coordinate for point.
x2 double The calculated X coordinate for point.
y2 double The calculated Y coordinate for point.
Результат void

GetMaxLengthAll() публичный статический Метод

Get XLine maximum length for LineFixedLengthFlags.All mode.
public static GetMaxLengthAll ( this line, double &x1, double &y1, double &x2, double &y2 ) : void
line this The line shape.
x1 double The calculated X coordinate for point.
y1 double The calculated Y coordinate for point.
x2 double The calculated X coordinate for point.
y2 double The calculated Y coordinate for point.
Результат void

GetMaxLengthHorizontal() публичный статический Метод

Get XLine maximum length for LineFixedLengthFlags.Horizontal mode.
public static GetMaxLengthHorizontal ( this line, double &x1, double &x2 ) : void
line this The line shape.
x1 double The calculated X coordinate for point.
x2 double The calculated X coordinate for point.
Результат void

GetMaxLengthVertical() публичный статический Метод

Get XLine maximum length for LineFixedLengthFlags.Vertical mode.
public static GetMaxLengthVertical ( this line, double &y1, double &y2 ) : void
line this The line shape.
y1 double The calculated Y coordinate for point.
y2 double The calculated Y coordinate for point.
Результат void