Instance Property

CGRectValue

The values in the vector as a Core Graphics rectangle structure.

Declaration

@property(readonly) CGRect CGRectValue;

Discussion

Reading this property creates a CGRect structure whose origin is the X and Y values in the vector and whose size is the Z and W values in the vector.

See Also

Getting Values From a Vector

- valueAtIndex:

Returns a value from a specific position in the vector.

count

The number of items in the vector.

X

The value located in the first position in the vector.

Y

The value located in the second position in the vector.

Z

The value located in the third position in the vector.

W

The value located in the fourth position in the vector.

stringRepresentation

The string representation of the vector.

CGAffineTransformValue

The values in the vector represented as an affine transform.

CGPointValue

The values in the vector as a Core Graphics point structure.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software