TextPathEffects

Options for the alignment and appearance of type on a path.

Values

Name

Description

Value

TextPathEffects.GRAVITY_PATH_EFFECT

The center of each character's baseline is on the path while each vertical edge is in line with the path's center point.

1601201767

TextPathEffects.RAINBOW_PATH_EFFECT

The center of each character's baseline is parallel to the path's tangent. This is the default effect.

1601201778

TextPathEffects.RIBBON_PATH_EFFECT

The text characters' horizontal edges are perfectly horizontal regardless of the path shape.

1601201715

TextPathEffects.SKEW_PATH_EFFECT

The text characters' vertical edges are perfectly vertical regardless of the path shape.

1601201779

TextPathEffects.STAIR_STEP_PATH_EFFECT

The left edge of each character's baseline is on the path and no characters are rotated.

1601205107

Object of

TextPath.pathEffect