Skip to content

fontlab_echopy.api91.PenParameters

PenParameters

Keys of flShape.penParameters (Proteus pygate/pyflshape.cpp:132-154).

The setter replaces the whole stroke: omitted keys revert to defaults, and thickness 0 removes the pen. width is an alias of thickness. Send join as an int when writing (fl#8630).

Verified live (read only) on 9.1.9812: the getter returns a plain dict with string join and caps, e.g. {'cap0': 'butt', 'cap1': 'butt', 'join': 'miter', 'miter_limit': 2.0, 'thickness': 0.0}. Writing is source-derived.

Source bases

  • TypedDict (not resolved from selected source)

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
cap0 attribute Literal['butt', 'round', 'square']
cap1 attribute Literal['butt', 'round', 'square']
cap_curvature0 attribute float
cap_curvature1 attribute float
cap_offset0 attribute float
cap_offset1 attribute float
cap_rotation0 attribute float
cap_rotation1 attribute float
cap_shaping0 attribute float
cap_shaping1 attribute float
contrast attribute float
join attribute int | Literal['miter', 'bevel', 'round']
miter_limit attribute float
proportion attribute float
remove_overlap attribute bool
rotation attribute float
thickness attribute float
tolerance attribute float
width attribute float