Skip to content

fontlabapp.qt.views.Preview · declarations 001

Back to fontlabapp.qt.views.Preview

__init__

__init__(panel: Any, owner: Any = None) -> None

draw

draw(callback: Callable[[Any], None], *, coordinates: str = 'pixels') -> Drawing

set_auto_size

set_auto_size(enabled: bool) -> Preview

set_color

set_color(color: str) -> Preview

set_font_size

set_font_size(points: float) -> Preview

set_text

set_text(text: str, *, process: bool = True) -> Preview

set_waterfall

set_waterfall(sizes: list[float]) -> Preview