Declaration

- (NSString *) nextLayerId:(CGFloat *) layerAxisLocation layerPos:(CGFloat *) masterPos onAxis:(NSInteger) axisIdx direction:(int) direction;

Declaration

nextLayerId_layerPos_onAxis_direction_(layerAxisLocation: float, masterPos: float, axisIdx: int, direction: int) -> str

Parameters

layerAxisLocation

A buffer containing one internal coordinate for each font axis, in font axis order.

masterPos

On return, the coordinate of the matching font master on the selected axis when a match is found.

axisIdx

The index of the axis along which to search.

direction

A nonzero value whose sign selects greater or smaller coordinates.

Return Value

The matching font master identifier, or nil when no font master exists in that direction.

See Also

Interpolation