---
title: "Class PointF | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF/"
---

# Class PointF

> **Inheritance:** `System.Object` -> PointF

###### **Namespace**: [Aurigma.DesignAtoms.Model.Math](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math.md)

###### **Assembly**: Aurigma.DesignAtoms.Model.dll

```csharp title="Syntax"
public class PointF : ICloneable
```

## 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`

## Constructors

### PointF

```csharp
public PointF()
```

### PointF

```csharp
public PointF(float x, float y)
```

### PointF

```csharp
public PointF(PointF pt)
```

### PointF

```csharp
public PointF(PointF pt)
```

## Properties

### X

```csharp
public float X { get; set; }
```

### Y

```csharp
public float Y { get; set; }
```

### IsEmpty

```csharp
public bool IsEmpty { get; }
```

## Methods

### Rotate

```csharp
public PointF Rotate(float angle)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Single` | *angle* |  |

##### Returns

[Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md)

### Rotate

```csharp
public PointF Rotate(double angle)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Double` | *angle* |  |

##### Returns

[Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md)

### RotateAt

```csharp
public PointF RotateAt(double angle, PointF center)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Double` | *angle* |  |
| [Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md) | *center* |  |

##### Returns

[Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md)

### Translate

```csharp
public PointF Translate(float x, float y)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Single` | *x* |  |
| `System.Single` | *y* |  |

##### Returns

[Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md)

### Translate

```csharp
public PointF Translate(double x, double y)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Double` | *x* |  |
| `System.Double` | *y* |  |

##### Returns

[Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md)

### Scale

```csharp
public PointF Scale(float scaleX, float scaleY)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Single` | *scaleX* |  |
| `System.Single` | *scaleY* |  |

##### Returns

[Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md)

### Scale

```csharp
public PointF Scale(double scaleX, double scaleY)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Double` | *scaleX* |  |
| `System.Double` | *scaleY* |  |

##### Returns

[Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md)

### Transform

```csharp
public PointF Transform(Transform transform, PointF center)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Math.Transform](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/Transform.md) | *transform* |  |
| [Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md) | *center* |  |

##### Returns

[Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md)

### Distance

```csharp
public double Distance(PointF point)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md) | *point* |  |

##### Returns

`System.Double`

### ToPoint

```csharp
public Point ToPoint()
```

##### Returns

`System.Drawing.Point`

### ToPointF

```csharp
public PointF ToPointF()
```

##### Returns

`System.Drawing.PointF`

### Clone

```csharp
public PointF Clone()
```

##### Returns

[Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md)

### AreEqualValues

```csharp
public static bool AreEqualValues(PointF p1, PointF p2, double tolerance = 0.0001)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md) | *p1* |  |
| [Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md) | *p2* |  |
| `System.Double` | *tolerance* |  |

##### Returns

`System.Boolean`

### Equals

```csharp
public bool Equals(PointF p, double tolerance = 0.0001)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Math.PointF](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/PointF.md) | *p* |  |
| `System.Double` | *tolerance* |  |

##### Returns

`System.Boolean`

### ToString

```csharp
public override string ToString()
```

##### Returns

`System.String`

##### Overrides

* `System.Object.ToString`

### ICloneable.Clone

```csharp
object ICloneable.Clone()
```

##### Returns

`System.Object`
