Back to Website
Show / Hide Table of Contents

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()
Namespace: Aurigma.DesignAtoms.Model.Math
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class PointF : ICloneable

Constructors

PointF()

Declaration
public PointF()

PointF(PointF)

Declaration
public PointF(PointF pt)
Parameters
Type Name Description
PointF pt

PointF(PointF)

Declaration
public PointF(PointF pt)
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
public PointF Clone()
Returns
Type Description
PointF

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
Type Description
PointF

Rotate(Single)

Declaration
public PointF Rotate(float angle)
Parameters
Type Name Description
System.Single angle
Returns
Type Description
PointF

RotateAt(Double, PointF)

Declaration
public PointF RotateAt(double angle, PointF center)
Parameters
Type Name Description
System.Double angle
PointF center
Returns
Type Description
PointF

Scale(Double, Double)

Declaration
public PointF Scale(double scaleX, double scaleY)
Parameters
Type Name Description
System.Double scaleX
System.Double scaleY
Returns
Type Description
PointF

Scale(Single, Single)

Declaration
public PointF Scale(float scaleX, float scaleY)
Parameters
Type Name Description
System.Single scaleX
System.Single scaleY
Returns
Type Description
PointF

ToPoint()

Declaration
public Point ToPoint()
Returns
Type Description
System.Drawing.Point

ToPointF()

Declaration
public PointF ToPointF()
Returns
Type Description
System.Drawing.PointF

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Transform(Transform, PointF)

Declaration
public PointF Transform(Transform transform, PointF center)
Parameters
Type Name Description
Transform transform
PointF center
Returns
Type Description
PointF

Translate(Double, Double)

Declaration
public PointF Translate(double x, double y)
Parameters
Type Name Description
System.Double x
System.Double y
Returns
Type Description
PointF

Translate(Single, Single)

Declaration
public PointF Translate(float x, float y)
Parameters
Type Name Description
System.Single x
System.Single y
Returns
Type Description
PointF

Operators

Subtraction(PointF, PointF)

Declaration
public static PointF operator -(PointF a, PointF b)
Parameters
Type Name Description
PointF a
PointF b
Returns
Type Description
PointF

Explicit Interface Implementations

ICloneable.Clone()

Declaration
object ICloneable.Clone()
Returns
Type Description
System.Object

Implements

System.ICloneable
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback