Instance Method
slantX(_:origin:doCorrection:checkSelection:) slantX:origin:doCorrection:checkSelection: slantX_origin_doCorrection_checkSelection_
Slants content horizontally around an origin.
Declaration
func slantX(_ angle: CGFloat, origin: CGFloat, doCorrection correction: Bool, checkSelection: Bool)Declaration
- (void) slantX:(CGFloat) angle origin:(CGFloat) origin doCorrection:(BOOL) correction checkSelection:(BOOL) checkSelection;Declaration
slantX_origin_doCorrection_checkSelection_(angle: float, origin: float, correction: bool, checkSelection: bool)Parameters
angleThe slant angle in degrees.
originThe horizontal shear origin in layer coordinates.
correctionWhether to preserve stem contrast.
checkSelectionWhether to restrict the operation to selected nodes and elements.
See Also
Slanting
Slants content horizontally with configurable outline corrections.
Slants content vertically around an origin.
Corrects stem contrast for a horizontal slant.
Corrects outlines for a horizontal slant using associated font master stems.
Corrects outlines for a horizontal slant using explicit stem dimensions and a correction center.