GradientMixin
Subclasses
Class | Module | Description |
---|---|---|
Gradient | prettyqt.gui.gradient | |
LinearGradient | prettyqt.gui.lineargradient | |
RadialGradient | prettyqt.gui.radialgradient | |
ConicalGradient | prettyqt.gui.conicalgradient |
⋔ Inheritance diagram
graph TD
1473245598256["gui.GradientMixin"]
140713234304496["builtins.object"]
140713234304496 --> 1473245598256
🛈 DocStrings
Source code in prettyqt\gui\gradient.py
get_coordinate_mode() -> CoordinateModeStr
get_spread() -> SpreadStr
get_type() -> TypeStr
set_coordinate_mode(mode: CoordinateModeStr | gui.QGradient.CoordinateMode)
Set the coordinate mode.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mode |
CoordinateModeStr | CoordinateMode
|
coordinate mode |
required |
set_spread(method: SpreadStr | gui.QGradient.Spread)
Set the spread method.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
method |
SpreadStr | Spread
|
spread method |
required |