CGVector CGVector Struct

Definition

A mathematical vector, with value equality implemented.

public struct CGVector
type CGVector = struct
Inheritance
CGVectorCGVector

Remarks

Constructors

CGVector(nfloat, nfloat) CGVector(nfloat, nfloat)

Creates a vector from an x and y components.

Fields

dx dx

X component of the vector

dy dy

Y component of the vector

Methods

Equals(Object) Equals(Object)
FromString(String) FromString(String)

Creates a CGVector from a stringified representation of the vector.

GetHashCode() GetHashCode()
ToString() ToString()

String representation of the vector, suitable to be passed later to FromString(String) method.

Operators

Equality(CGVector, CGVector) Equality(CGVector, CGVector)
Inequality(CGVector, CGVector) Inequality(CGVector, CGVector)

Applies to