Skip to content

fontgate.fgBrush · declarations 001

Back to fontgate.fgBrush

black

black() -> fgBrush

fgBrush black() - get black solid brush

cap0 instance-attribute

cap0: Any

fgCapParams start cap (copy; assign back after editing)

cap1 instance-attribute

cap1: Any

fgCapParams end cap (copy; assign back after editing)

contrast instance-attribute

contrast: Any

(float) stroke contrast, 1.0 = none

isBlack

isBlack() -> bool

bool isBlack() - return true if brush is black

isTransparent

isTransparent() -> bool

bool isTransparent() - return true if brush is transparent

join_type instance-attribute

join_type: Any

(int) 0 = bevel, 1 = round, 2 = miter

kind instance-attribute

kind: Any

('Empty'/'Solid'/'Gradient') brush type

miter_limit instance-attribute

miter_limit: Any

(float) miter limit

proportion instance-attribute

proportion: Any

(float) nib proportion, 0..1 (0.5 = round/square nib)

remove_overlap instance-attribute

remove_overlap: Any

(bool) remove overlap of the expanded stroke

rotation instance-attribute

rotation: Any

(float) nib rotation in degrees

solid instance-attribute

solid: Any

(fgColor) brush color

thickness instance-attribute

thickness: Any

(float) stroke thickness

tolerance instance-attribute

tolerance: Any

(float) stroke approximation tolerance

transparent

transparent() -> fgBrush

fgBrush transparent() - get transparent solid brush