fontlabapp.studios.derived_glyphs.shadow · declarations 001
Back to fontlabapp.studios.derived_glyphs.shadow
KEY
module-attribute
KEY
SHADOW
module-attribute
SHADOW
TITLE
module-attribute
TITLE
add_shadows
add_shadows(rows: Sequence[Row], dx: int, dy: int, facts: Any, allow_bases: bool) -> dict[str, Any]
Insert one shifted shadow element first in every planned layer, as ONE Undo step.
Return {"layers", "glyphs", "contours", "mismatches"}. Nothing to do
returns zeros and makes no history call. A refusal raises ValueError; a
failure after history started raises RuntimeError with the Undo hint.
layer_note
layer_note(layer: Any, reason: str) -> str
Return why layer gets no shadow, or "" when it can get one.
panel_type
panel_type() -> type
Build the panel class once Qt is available (inside FontLab).