Instance Method
slantX(_:origin:correctContrast:correctShape:correctThickness:checkSelection:) slantX:origin:correctContrast:correctShape:correctThickness:checkSelection: slantX_origin_correctContrast_correctShape_correctThickness_checkSelection_
Slants content horizontally with configurable outline corrections.
Declaration
func slantX(_ angle: CGFloat, origin: CGFloat, correctContrast: CGFloat, correctShape shape: CGFloat, correctThickness thickness: CGFloat, checkSelection: Bool)Declaration
- (void) slantX:(CGFloat) angle origin:(CGFloat) origin correctContrast:(CGFloat) correctContrast correctShape:(CGFloat) shape correctThickness:(CGFloat) thickness checkSelection:(BOOL) checkSelection;Declaration
slantX_origin_correctContrast_correctShape_correctThickness_checkSelection_(angle: float, origin: float, correctContrast: float, shape: float, thickness: float, checkSelection: bool)Parameters
angleThe slant angle in degrees.
originThe horizontal shear origin in layer coordinates.
correctContrastThe amount of stem contrast correction.
shapeThe amount of shape correction.
thicknessThe amount of vertical stem thickness correction.
checkSelectionWhether to restrict the operation to selected nodes and elements.
See Also
Slanting
Slants content horizontally around an origin.
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.