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

angle

The slant angle in degrees.

origin

The horizontal shear origin in layer coordinates.

correction

Whether to preserve stem contrast.

checkSelection

Whether to restrict the operation to selected nodes and elements.

See Also

Slanting