![]() |
IDS peak ICV v1.2.0
|
Public Member Functions | |
| None | __init__ (self, int value=MAXIMUM) |
| Creates an Opacity object with a default value of 100. | |
| int | value (self) |
| Retrieve the current opacity. | |
| bool | __eq__ (self, object other) |
| Check if the Opacity object is equal to a given value. | |
Static Public Attributes | |
| int | MINIMUM = 0 |
| int | MAXIMUM = 100 |
Protected Attributes | |
| int | _value = value |
Class representing opacity for painting operations.
Opacity indicates how much the underlying layer is hidden.
A value of 100 means that the underlying layer is completely hidden. On the other hand, 0 means that the layer is completely visible.
Definition at line 6 of file opacity.py.
| None __init__ | ( | self, | |
| int | value = MAXIMUM ) |
Creates an Opacity object with a default value of 100.
| value | (int, optional) Value of the Opacity. Defaults to maximum. |
| OutOfRangeException | If the opacity value is not within the valid range. |
Definition at line 20 of file opacity.py.
| bool __eq__ | ( | self, | |
| object | other ) |
Check if the Opacity object is equal to a given value.
| other | Value to compare with. |
Definition at line 47 of file opacity.py.
| int value | ( | self | ) |
Retrieve the current opacity.
Definition at line 36 of file opacity.py.
|
protected |
Definition at line 33 of file opacity.py.
|
static |
Definition at line 18 of file opacity.py.
|
static |
Definition at line 17 of file opacity.py.