Class ShapePointBase
Represents a base class of the ShapePoint class.
Inheritance
Namespace: Telerik.WinControls.OldShapeEditor
Assembly: Telerik.WinControls.dll
Syntax
public class ShapePointBase : Component
Constructors
ShapePointBase()
Initializes a new instance of the ShapePointbase class.
Declaration
public ShapePointBase()
ShapePointBase(Point)
Initializes a new instance of the ShapePoint class using a Point structure.
Declaration
public ShapePointBase(Point point)
Parameters
System.Drawing.Point
point
|
ShapePointBase(Single, Single)
Initializes a new instance of the ShapePoint class using X and Y coordinates.
Declaration
public ShapePointBase(float x, float y)
Parameters
System.Single
x
|
System.Single
y
|
ShapePointBase(ShapePointBase)
Initializes a new instance of the ShapePoint class using an instance of the ShapePointBase class.
Declaration
public ShapePointBase(ShapePointBase point)
Parameters
ShapePointBase
point
|
Fields
modified
Declaration
protected bool modified
Field Value
System.Boolean
|
Properties
Anchor
Gets or sets a value indicating the anchor style.
Declaration
public AnchorStyles Anchor { get; set; }
Property Value
System.Windows.Forms.AnchorStyles
|
IsModified
Declaration
public bool IsModified { get; set; }
Property Value
System.Boolean
|
Locked
Gets or sets a boolean value indicating whether the shape point is locked.
Declaration
public bool Locked { get; set; }
Property Value
System.Boolean
|
Point
Declaration
public PointF Point { get; set; }
Property Value
System.Drawing.PointF
|
X
Gets or sets a float value indicating the X coordinate of the shape point.
Declaration
public float X { get; set; }
Property Value
System.Single
|
Y
Gets or sets a float value indicating the Y coordinate of the shape point.
Declaration
public float Y { get; set; }
Property Value
System.Single
|
Methods
GetBounds(Int32)
Declaration
public Rectangle GetBounds(int weight)
Parameters
System.Int32
weight
|
Returns
System.Drawing.Rectangle
|
GetPoint()
Retrieves a Point structure corresponding to the point position.
Declaration
public Point GetPoint()
Returns
System.Drawing.Point
|
GetPoint(Rectangle)
Declaration
public Point GetPoint(Rectangle bounds)
Parameters
System.Drawing.Rectangle
bounds
|
Returns
System.Drawing.Point
|
GetPoint(Rectangle, Rectangle)
Declaration
public Point GetPoint(Rectangle src, Rectangle dst)
Parameters
System.Drawing.Rectangle
src
|
System.Drawing.Rectangle
dst
|
Returns
System.Drawing.Point
|
IsVisible(Int32, Int32, Int32)
Declaration
public bool IsVisible(int x, int y, int width)
Parameters
System.Int32
x
|
System.Int32
y
|
System.Int32
width
|
Returns
System.Boolean
|
Set(Point)
Sets the point position from a Point structure.
Declaration
public void Set(Point point)
Parameters
System.Drawing.Point
point
|
Set(Single, Single)
Sets the X and Y coordinates of the shape point.
Declaration
public void Set(float x, float y)
Parameters
System.Single
x
|
System.Single
y
|
ToString()
Retrieves a string representation of the ShapePointBase class.
Declaration
public override string ToString()
Returns
System.String
|