Instance Method
doSlantingCorrection(withAngle:correctContrast:correctShape:correctThickness:checkSelection:) doSlantingCorrectionWithAngle:correctContrast:correctShape:correctThickness:checkSelection: doSlantingCorrectionWithAngle_correctContrast_correctShape_correctThickness_checkSelection_
Corrects outlines for a horizontal slant using associated font master stems.
Declaration
func doSlantingCorrection(withAngle angle: CGFloat, correctContrast: CGFloat, correctShape: CGFloat, correctThickness: CGFloat, checkSelection: Bool)Declaration
- (void) doSlantingCorrectionWithAngle:(CGFloat) angle correctContrast:(CGFloat) correctContrast correctShape:(CGFloat) correctShape correctThickness:(CGFloat) correctThickness checkSelection:(BOOL) checkSelection;Declaration
doSlantingCorrectionWithAngle_correctContrast_correctShape_correctThickness_checkSelection_(angle: float, correctContrast: float, correctShape: float, correctThickness: float, checkSelection: bool)Parameters
angleThe slant angle in degrees.
correctContrastThe amount of stem contrast correction.
correctShapeThe amount of shape correction.
correctThicknessThe amount of vertical stem thickness correction.
checkSelectionWhether to restrict the operation to selected nodes.
See Also
Slanting
Slants content horizontally around an origin.
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 explicit stem dimensions and a correction center.