Class PointF
Inheritance
System.Object
PointF
Implements
System.ICloneable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class PointF : ICloneable
Constructors
PointF()
Declaration
PointF(PointF)
Declaration
Parameters
| Type |
Name |
Description |
| PointF |
pt |
|
PointF(PointF)
Declaration
Parameters
| Type |
Name |
Description |
| System.Drawing.PointF |
pt |
|
PointF(Single, Single)
Declaration
public PointF(float x, float y)
Parameters
| Type |
Name |
Description |
| System.Single |
x |
|
| System.Single |
y |
|
Properties
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
X
Declaration
public float X { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
Y
Declaration
public float Y { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
Methods
AreEqualValues(PointF, PointF, Double)
Declaration
public static bool AreEqualValues(PointF p1, PointF p2, double tolerance = 0.0001)
Parameters
| Type |
Name |
Description |
| PointF |
p1 |
|
| PointF |
p2 |
|
| System.Double |
tolerance |
|
Returns
| Type |
Description |
| System.Boolean |
|
Clone()
Declaration
Returns
Distance(PointF)
Declaration
public double Distance(PointF point)
Parameters
| Type |
Name |
Description |
| PointF |
point |
|
Returns
| Type |
Description |
| System.Double |
|
Equals(PointF, Double)
Declaration
public bool Equals(PointF p, double tolerance = 0.0001)
Parameters
| Type |
Name |
Description |
| PointF |
p |
|
| System.Double |
tolerance |
|
Returns
| Type |
Description |
| System.Boolean |
|
Rotate(Double)
Declaration
public PointF Rotate(double angle)
Parameters
| Type |
Name |
Description |
| System.Double |
angle |
|
Returns
Rotate(Single)
Declaration
public PointF Rotate(float angle)
Parameters
| Type |
Name |
Description |
| System.Single |
angle |
|
Returns
RotateAt(Double, PointF)
Declaration
public PointF RotateAt(double angle, PointF center)
Parameters
| Type |
Name |
Description |
| System.Double |
angle |
|
| PointF |
center |
|
Returns
Scale(Double, Double)
Declaration
public PointF Scale(double scaleX, double scaleY)
Parameters
| Type |
Name |
Description |
| System.Double |
scaleX |
|
| System.Double |
scaleY |
|
Returns
Scale(Single, Single)
Declaration
public PointF Scale(float scaleX, float scaleY)
Parameters
| Type |
Name |
Description |
| System.Single |
scaleX |
|
| System.Single |
scaleY |
|
Returns
ToPoint()
Declaration
Returns
| Type |
Description |
| System.Drawing.Point |
|
ToPointF()
Declaration
Returns
| Type |
Description |
| System.Drawing.PointF |
|
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.Object.ToString()
Declaration
public PointF Transform(Transform transform, PointF center)
Parameters
Returns
Translate(Double, Double)
Declaration
public PointF Translate(double x, double y)
Parameters
| Type |
Name |
Description |
| System.Double |
x |
|
| System.Double |
y |
|
Returns
Translate(Single, Single)
Declaration
public PointF Translate(float x, float y)
Parameters
| Type |
Name |
Description |
| System.Single |
x |
|
| System.Single |
y |
|
Returns
Operators
Subtraction(PointF, PointF)
Declaration
public static PointF operator -(PointF a, PointF b)
Parameters
Returns
Explicit Interface Implementations
ICloneable.Clone()
Declaration
object ICloneable.Clone()
Returns
| Type |
Description |
| System.Object |
|
Implements
System.ICloneable