## Vector2F struct

Vector with 2 float parameters

```csharp
public struct Vector2F : IEquatable<Vector2F>
```

## Constructors

| Name | Description |
| --- | --- |
| [Vector2F](vector2f/)(float, float) | Initializes a new instance of the `Vector2F` struct. |

## Properties

| Name | Description |
| --- | --- |
| Length { get; } | Length |
| SquareLength { get; } | Square length |

## Methods

| Name | Description |
| --- | --- |
| DotProduct(Vector2F, Vector2F) | Returns the dot product of two vectors. |
| Equals(object) | Returns a boolean indicating whether the given Object is equal to this Vector2F instance. |
| Equals(Vector2F) | Returns a boolean indicating whether the given Vector2F is equal to this Vector2F instance. |
| GetHashCode() | Returns the hash code for this instance. |

## Fields

| Name | Description |
| --- | --- |
| X | X coordinate |
| Y | Y coordinate |

## Operators

| Name | Description |
| --- | --- |
| operator == | Returns a boolean indicating whether the two given vectors are equal. |
| operator != | Returns a boolean indicating whether the two given vectors are not equal. |
| operator * | Multiplies vector by scalar value. |
| operator - | Subtracts the second vector from the first. |
| operator + | Adds two vectors together. |

### See Also

* namespace [Aspose.CAD](../../aspose.cad/)
* assembly [Aspose.CAD](../../)

