TextPathEffects (Enum)

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

Name Description Value
RAINBOW_PATH_EFFECT The center of each character’s baseline is parallel to the path’s tangent. This is the default effect. 1601201778 =
‘_pfr’
SKEW_PATH_EFFECT The text characters’ vertical edges are perfectly vertical regardless of the path shape. 1601201779 =
‘_pfs’
RIBBON_PATH_EFFECT The text characters’ horizontal edges are perfectly horizontal regardless of the path shape. 1601201715 =
‘_pf3′
STAIR_STEP_PATH_EFFECT The left edge of each character’s baseline is on the path and no characters are rotated. 1601205107 =
‘_pss’
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 =
‘_pfg’

Usage:

Leave a Comment

Previous post:

Next post: