Instance Method
nextLayerId:layerPos:onAxis:direction: nextLayerId:layerPos:onAxis:direction: nextLayerId_layerPos_onAxis_direction_
Finds the nearest font master in one direction along an axis while keeping the other axis coordinates fixed.
Not available in Swift.
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) -> strParameters
layerAxisLocationA buffer containing one internal coordinate for each font axis, in font axis order.
masterPosOn return, the coordinate of the matching font master on the selected axis when a match is found.
axisIdxThe index of the axis along which to search.
directionA 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
A detached layer formed by applying interpolation coefficients to compatible source layers.
Adds the corresponding interpolated Smart Component layers to a target glyph.
Replaces layer contents with interpolation from the remaining layers in each layer group.