New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

C#
public ShapePoint()
C#
public ShapePoint(float x, float y)
Parameters:xfloatyfloat
C#
public ShapePoint(int x, int y)
Parameters:xintyint
C#
public ShapePoint(Point pt)
Parameters:ptPoint
C#
public ShapePoint(PointF pt)
Parameters:ptPointF
C#
public ShapePoint(ShapePoint pt)
Parameters:ptShapePoint

Properties

C#
public bool IsLocked { get; set; }
C#
[Browsable(false)]
public bool IsModified { get; set; }
C#
[Browsable(false)]
public PointF Location { get; set; }
C#
public float X { get; set; }
C#
public float Y { get; set; }

Methods

C#
public static float DistSquared(PointF a, PointF b)
Parameters:aPointFbPointFReturns:

float

C#
public Point Get()
Returns:

Point

C#
public Point GetPoint(Rectangle src, Rectangle dst)
Parameters:srcRectangledstRectangleReturns:

Point

C#
public Point GetPoint(Rectangle bounds)
Parameters:boundsRectangleReturns:

Point

C#
public void Set(float x, float y)
Parameters:xfloatyfloat
C#
public void Set(int x, int y)
Parameters:xintyint
C#
public void Set(Point pt)
Parameters:ptPoint
C#
public override string ToString()
Returns:

string

Overrides: Component.ToString()

Operators

C#
public static implicit operator Point(ShapePoint pt)
Parameters:ptShapePointReturns:

Point