Skip to content

Brush

from slint import Brush
python
color: Color
is_transparent() -> bool
is_opaque() -> bool
brighter(factor: float) -> Brush
darker(factor: float) -> Brush
transparentize(amount: float) -> Brush
with_alpha(alpha: float) -> Brush

© 2026 SixtyFPS GmbH