Class
ShapeLine

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class ShapeLine : IShapeCurve

Inheritance: objectShapeLine

Implements: IShapeCurve

Constructors

ShapeLine()

Declaration

cs-api-definition
public ShapeLine()

ShapeLine(ShapePoint, ShapePoint)

Declaration

cs-api-definition
public ShapeLine(ShapePoint from, ShapePoint to)

Parameters

from

ShapePoint

to

ShapePoint

Properties

ControlPoints

Declaration

cs-api-definition
[Browsable(false)]
public ShapePoint[] ControlPoints { get; }

Property Value

ShapePoint[]

Implements IShapeCurve.ControlPoints

Extensions

Declaration

cs-api-definition
[Browsable(false)]
public ShapePoint[] Extensions { get; }

Property Value

ShapePoint[]

Implements IShapeCurve.Extensions

FirstPoint

Declaration

cs-api-definition
[Browsable(true)]
public ShapePoint FirstPoint { get; set; }

Property Value

ShapePoint

Implements IShapeCurve.FirstPoint

IsModified

Declaration

cs-api-definition
[Browsable(false)]
public bool IsModified { get; }

Property Value

bool

Implements IShapeCurve.IsModified

LastPoint

Declaration

cs-api-definition
[Browsable(true)]
public ShapePoint LastPoint { get; set; }

Property Value

ShapePoint

Implements IShapeCurve.LastPoint

Points

Declaration

cs-api-definition
[Browsable(false)]
public ShapePoint[] Points { get; }

Property Value

ShapePoint[]

Implements IShapeCurve.Points

SnappedCtrlPoint

Declaration

cs-api-definition
[Browsable(false)]
public ShapePoint SnappedCtrlPoint { get; }

Property Value

ShapePoint

Implements IShapeCurve.SnappedCtrlPoint

SnappedPoint

Declaration

cs-api-definition
[Browsable(false)]
public PointF SnappedPoint { get; }

Property Value

PointF

Implements IShapeCurve.SnappedPoint

TestPoints

Declaration

cs-api-definition
[Browsable(false)]
public List<PointF> TestPoints { get; }

Property Value

List<PointF>

Implements IShapeCurve.TestPoints

Methods

Create()

Declaration

cs-api-definition
public IShapeCurve Create()

Returns

IShapeCurve

Implements IShapeCurve.Create()

SnapToCtrlPoints(PointF, float)

Declaration

cs-api-definition
public bool SnapToCtrlPoints(PointF pt, float snapDistance)

Parameters

pt

PointF

snapDistance

float

Returns

bool

Implements IShapeCurve.SnapToCtrlPoints(PointF, float)

SnapToCurve(PointF, float)

Should snap to the line or curve

Declaration

cs-api-definition
public bool SnapToCurve(PointF pt, float snapDistance)

Parameters

pt

PointF

snapDistance

float

Returns

bool

Implements IShapeCurve.SnapToCurve(PointF, float)

SnapToCurveExtension(PointF, float)

Declaration

cs-api-definition
public bool SnapToCurveExtension(PointF pt, float snapDistance)

Parameters

pt

PointF

snapDistance

float

Returns

bool

Implements IShapeCurve.SnapToCurveExtension(PointF, float)

SnapToHorizontal(PointF, float, float)

Declaration

cs-api-definition
public bool SnapToHorizontal(PointF pt, float yVal, float snapDistance)

Parameters

pt

PointF

yVal

float

snapDistance

float

Returns

bool

Implements IShapeCurve.SnapToHorizontal(PointF, float, float)

SnapToVertical(PointF, float, float)

Declaration

cs-api-definition
public bool SnapToVertical(PointF pt, float xVal, float snapDistance)

Parameters

pt

PointF

xVal

float

snapDistance

float

Returns

bool

Implements IShapeCurve.SnapToVertical(PointF, float, float)

Update()

Declaration

cs-api-definition
public bool Update()

Returns

bool

Implements IShapeCurve.Update()