iOS Guides | Samples

CoreGraphics.CGVector Structure

A mathematical vector, with value equality implemented.

See Also: CGVector

Syntax

public struct CGVector

Remarks

Requirements

Namespace: CoreGraphics
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of CoreGraphics.CGVector are listed below.

See Also: ValueType

Public Constructors

Creates a vector from an x and y components.

Public Fields

dxnfloat. X component of the vector
dynfloat. Y component of the vector

Public Methods

override
Equals(Object) : Boolean
static
FromString(String) : CGVector
Creates a CGVector from a stringified representation of the vector.
override
GetHashCode() : Int32
override
ToString() : String
String representation of the vector, suitable to be passed later to CGVector.FromString method.

Public Operators