CGVector Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A mathematical vector, with value equality implemented.
public struct CGVector
type CGVector = struct
- Inheritance
-
CGVector
Remarks
Constructors
| CGVector(nfloat, nfloat) |
Creates a vector from an x and y components. |
Fields
| dx |
X component of the vector |
| dy |
Y component of the vector |
Methods
| Equals(Object) | |
| FromString(String) |
Creates a CGVector from a stringified representation of the vector. |
| GetHashCode() | |
| ToString() |
String representation of the vector, suitable to be passed later to FromString(String) method. |
Operators
| Equality(CGVector, CGVector) | |
| Inequality(CGVector, CGVector) |