Instance Method
setPreviousKerning:forLayer:direction: setPreviousKerning:forLayer:direction: setPreviousKerning_forLayer_direction_
Sets the kerning value between a previous layer and this layer.
Not available in Swift.
Declaration
- (void) setPreviousKerning:(CGFloat) value forLayer:(GSLayer *) previousLayer direction:(GSWritingDirection) direction;Declaration
setPreviousKerning_forLayer_direction_(value: float, previousLayer: GSLayer, direction: GSWritingDirection)Parameters
previousLayerThe layer before this layer.
Discussion
The value is stored for the layer’s associated master and the requested writing direction. Group kerning is used unless the pair has a kerning exception. Pass CGFLOAT_MAX to remove the kerning value.
See Also
Kerning Values
Kerning dictionary for observing kerning changes.
Kerning value between a previous layer and this layer.
Kerning value between this layer and a next layer.
Sets the kerning value between this layer and a next layer.