Class ShapePoint
Represents a shape point.
Inherited Members
Namespace: Telerik.WinControls.OldShapeEditor
Assembly: Telerik.WinControls.dll
Syntax
public class ShapePoint : ShapePointBase
Constructors
ShapePoint()
Initializes a new instance of the ShapePoint class.
Declaration
public ShapePoint()
ShapePoint(Point)
Initializes a new instance of the ShapePoint class from a Point structure.
Declaration
public ShapePoint(Point point)
Parameters
System.Drawing.Point
point
|
ShapePoint(Int32, Int32)
Initializes a new instance of the ShapePoint class from the X and Y coordinates of the point.
Declaration
public ShapePoint(int x, int y)
Parameters
System.Int32
x
|
System.Int32
y
|
ShapePoint(ShapePoint)
Initializes a new instance of the ShapePoint class using a ShapePoint instance.
Declaration
public ShapePoint(ShapePoint point)
Parameters
ShapePoint
point
|
Properties
Bezier
Declaration
public bool Bezier { get; set; }
Property Value
System.Boolean
|
ControlPoint1
Gets or sets the first control point.
Declaration
public ShapePointBase ControlPoint1 { get; set; }
Property Value
ShapePointBase
|
ControlPoint2
Gets or sets the second control point.
Declaration
public ShapePointBase ControlPoint2 { get; set; }
Property Value
ShapePointBase
|
Methods
CreateBezier(ShapePointBase)
Creates a Bezier curve between the current point and the point given as a parameter.
Declaration
public void CreateBezier(ShapePointBase nextPoint)
Parameters
ShapePointBase
nextPoint
|
GetCurve(ShapePoint)
Declaration
public Point[] GetCurve(ShapePoint nextPoint)
Parameters
ShapePoint
nextPoint
|
Returns
System.Drawing.Point[]
|
IsVisible(ShapePoint, Point, Int32)
Declaration
public bool IsVisible(ShapePoint nextPoint, Point pt, int width)
Parameters
ShapePoint
nextPoint
|
System.Drawing.Point
pt
|
System.Int32
width
|
Returns
System.Boolean
|