Type Method

valueWithCGVector:

Creates a new value object containing the specified CoreGraphics vector structure.

Declaration

+ (NSValue *)valueWithCGVector:(CGVector)vector;

Parameters

vector

The value for the new object.

Return Value

A new value object that contains the vector information.

See Also

Working with CoreGraphics Geometry Values

+ valueWithCGPoint:

Creates a new value object containing the specified CoreGraphics point structure.

+ valueWithCGSize:

Creates a new value object containing the specified CoreGraphics size structure.

+ valueWithCGRect:

Creates a new value object containing the specified CoreGraphics rectangle structure.

+ valueWithCGAffineTransform:

Creates a new value object containing the specified CoreGraphics affine transform structure.

CGPointValue

Returns the CoreGraphics point structure representation of the value.

CGVectorValue

Returns the CoreGraphics vector structure representation of the value.

CGSizeValue

Returns the CoreGraphics size structure representation of the value.

CGRectValue

Returns the CoreGraphics rectangle structure representation of the value.

CGAffineTransformValue

Returns the CoreGraphics affine transform representation of the value.