Type Method

valueWithPoint:

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

Declaration

+ (NSValue *)valueWithPoint:(NSPoint)point;

Parameters

aPoint

The value for the new object.

Return Value

A new value object that contains the point information.

See Also

Working with Foundation Geometry Values

+ valueWithSize:

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

+ valueWithRect:

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

pointValue

The Foundation point structure representation of the value.

sizeValue

The Foundation size structure representation of the value.

rectValue

The Foundation rectangle structure representation of the value.