PythonQt.Qt.QRgba64
QRgba64
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
QRgba64 is a 64-bit data-structure containing four 16-bit color channels: Red, green, blue and alpha.
QRgba64 can be used as a replacement for QRgb when higher precision is needed. In particular a premultiplied QRgba64 can operate on unpremultiplied QRgb without loss of precision except for alpha 0.
Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
alpha |
function | (self) -> int |
X.alpha() -> int (shared captured text) |
alpha8 |
function | (self) -> int |
X.alpha8() -> int (shared captured text) |
blue |
function | (self) -> int |
X.blue() -> int (shared captured text) |
blue8 |
function | (self) -> int |
X.blue8() -> int (shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
fromArgb32 |
function | (self, rgb: Any) -> Any |
X.fromArgb32(rgb) -> PythonQt.QtGui.QRgba64 (shared captured text) |
fromRgba |
function | (self, red: Any, green: Any, blue: Any, alpha: Any) -> Any |
X.fromRgba(red, green, blue, alpha) -> PythonQt.QtGui.QRgba64 (shared captured text) |
fromRgba64 |
function | (self, red: Any, green: Any, blue: Any, alpha: Any) -> Any |
X.fromRgba64(red, green, blue, alpha) -> PythonQt.QtGui.QRgba64 (shared captured text) |
green |
function | (self) -> int |
X.green() -> int (shared captured text) |
green8 |
function | (self) -> int |
X.green8() -> int (shared captured text) |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
isOpaque |
function | (self) -> bool |
X.isOpaque() -> bool (shared captured text) |
isTransparent |
function | (self) -> bool |
X.isTransparent() -> bool (shared captured text) |
operator_assign |
function | (self, _rgba: Any) -> Any |
X.operator_assign(_rgba) -> PythonQt.QtGui.QRgba64 (shared captured text) |
premultiplied |
function | (self) -> Any |
X.premultiplied() -> PythonQt.QtGui.QRgba64 (shared captured text) |
red |
function | (self) -> int |
X.red() -> int (shared captured text) |
red8 |
function | (self) -> int |
X.red8() -> int (shared captured text) |
setAlpha |
function | (self, _alpha: Any) -> Any |
Sets the alpha of this color to alpha. (shared captured text) |
setBlue |
function | (self, _blue: Any) -> Any |
Sets the blue color component of this color to blue. (shared captured text) |
setGreen |
function | (self, _green: Any) -> Any |
Sets the green color component of this color to green. (shared captured text) |
setRed |
function | (self, _red: Any) -> Any |
Sets the red color component of this color to red. (shared captured text) |
toArgb32 |
function | (self) -> int |
X.toArgb32() -> int (shared captured text) |
toRgb16 |
function | (self) -> int |
X.toRgb16() -> int (shared captured text) |
unpremultiplied |
function | (self) -> Any |
X.unpremultiplied() -> PythonQt.QtGui.QRgba64 (shared captured text) |