Declaration

func doSlantingCorrection(withAngle angle: CGFloat, checkSelection: Bool, correctContrast: CGFloat, correctShape: CGFloat, correctThickness: CGFloat, horizontalStem: CGFloat, verticalStem: CGFloat, center: NSPoint)

Declaration

- (void) doSlantingCorrectionWithAngle:(CGFloat) angle checkSelection:(BOOL) checkSelection correctContrast:(CGFloat) correctContrast correctShape:(CGFloat) correctShape correctThickness:(CGFloat) correctThickness horizontalStem:(CGFloat) horizontalStem verticalStem:(CGFloat) verticalStem center:(NSPoint) center;

Declaration

doSlantingCorrectionWithAngle_checkSelection_correctContrast_correctShape_correctThickness_horizontalStem_verticalStem_center_(angle: float, checkSelection: bool, correctContrast: float, correctShape: float, correctThickness: float, horizontalStem: float, verticalStem: float, center: NSPoint)

Parameters

angle

The slant angle in degrees.

checkSelection

Whether to restrict the operation to selected nodes.

correctContrast

The amount of stem contrast correction.

correctShape

The amount of shape correction.

correctThickness

The amount of vertical stem thickness correction.

horizontalStem

The horizontal stem dimension used for correction.

verticalStem

The vertical stem dimension used for correction.

center

The center for shape correction in layer coordinates.

See Also

Slanting