Skip to content

PythonQt.QtGui.QRgba64 · declarations 001

Back to PythonQt.QtGui.QRgba64

alpha

alpha() -> int

X.alpha() -> int

Supplemental documentation: Qt 5 reference:

quint16 QRgba64::alpha() const

Returns the 16-bit alpha channel.

See also setAlpha().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#alpha

alpha8

alpha8() -> int

X.alpha8() -> int

Supplemental documentation: Qt 5 reference:

quint8 QRgba64::alpha8() const

Returns the alpha channel as an 8-bit.

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#alpha8

blue

blue() -> int

X.blue() -> int

Supplemental documentation: Qt 5 reference:

quint16 QRgba64::blue() const

Returns the 16-bit blue color component.

See also setBlue().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#blue

blue8

blue8() -> int

X.blue8() -> int

Supplemental documentation: Qt 5 reference:

quint8 QRgba64::blue8() const

Returns the blue color component as an 8-bit.

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#blue8

fromArgb32

fromArgb32(rgb: Any) -> Any

X.fromArgb32(rgb) -> PythonQt.QtGui.QRgba64

Supplemental documentation: Qt 5 reference:

[static] QRgba64 QRgba64::fromArgb32(uint rgb)

Constructs a QRgba64 value from the 32bit ARGB value rgb.

See also fromRgba().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#fromArgb32

fromRgba

fromRgba(red: Any, green: Any, blue: Any, alpha: Any) -> Any

X.fromRgba(red, green, blue, alpha) -> PythonQt.QtGui.QRgba64

Supplemental documentation: Qt 5 reference:

[static] QRgba64 QRgba64::fromRgba(quint8 red, quint8 green, quint8 blue, quint8 alpha)

Constructs a QRgba64 value from the four 8-bit color channels red, green, blue and alpha.

See also fromArgb32().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#fromRgba

fromRgba64

fromRgba64(red: Any, green: Any, blue: Any, alpha: Any) -> Any

X.fromRgba64(red, green, blue, alpha) -> PythonQt.QtGui.QRgba64

Supplemental documentation: Qt 5 reference:

[static] QRgba64 QRgba64::fromRgba64(quint64 c)

Returns c as a QRgba64 struct.

See also fromArgb32().

[static] QRgba64 QRgba64::fromRgba64(quint16 r, quint16 g, quint16 b, quint16 a)

Returns the QRgba64 quadruplet (r, g, b, a).

See also fromRgba().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#fromRgba64

green

green() -> int

X.green() -> int

Supplemental documentation: Qt 5 reference:

quint16 QRgba64::green() const

Returns the 16-bit green color component.

See also setGreen().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#green

green8

green8() -> int

X.green8() -> int

Supplemental documentation: Qt 5 reference:

quint8 QRgba64::green8() const

Returns the green color component as an 8-bit.

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#green8

isOpaque

isOpaque() -> bool

X.isOpaque() -> bool

Supplemental documentation: Qt 5 reference:

bool QRgba64::isOpaque() const

Returns whether the color is fully opaque.

See also isTransparent() and alpha().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#isOpaque

isTransparent

isTransparent() -> bool

X.isTransparent() -> bool

Supplemental documentation: Qt 5 reference:

bool QRgba64::isTransparent() const

Returns whether the color is transparent.

See also isOpaque() and alpha().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#isTransparent

operator_assign

operator_assign(_rgba: Any) -> Any

X.operator_assign(_rgba) -> PythonQt.QtGui.QRgba64

premultiplied

premultiplied() -> Any

X.premultiplied() -> PythonQt.QtGui.QRgba64

Supplemental documentation: Qt 5 reference:

QRgba64 QRgba64::premultiplied() const

Returns the color with the alpha premultiplied.

See also unpremultiplied().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#premultiplied

red

red() -> int

X.red() -> int

Supplemental documentation: Qt 5 reference:

quint16 QRgba64::red() const

Returns the 16-bit red color component.

See also setRed().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#red

red8

red8() -> int

X.red8() -> int

Supplemental documentation: Qt 5 reference:

quint8 QRgba64::red8() const

Returns the red color component as an 8-bit.

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#red8

setAlpha

setAlpha(_alpha: Any) -> Any

X.setAlpha(_alpha)

Supplemental documentation: Qt 5 reference:

void QRgba64::setAlpha(quint16 alpha)

Sets the alpha of this color to alpha.

See also alpha().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#setAlpha

setBlue

setBlue(_blue: Any) -> Any

X.setBlue(_blue)

Supplemental documentation: Qt 5 reference:

void QRgba64::setBlue(quint16 blue)

Sets the blue color component of this color to blue.

See also blue().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#setBlue

setGreen

setGreen(_green: Any) -> Any

X.setGreen(_green)

Supplemental documentation: Qt 5 reference:

void QRgba64::setGreen(quint16 green)

Sets the green color component of this color to green.

See also green().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#setGreen

setRed

setRed(_red: Any) -> Any

X.setRed(_red)

Supplemental documentation: Qt 5 reference:

void QRgba64::setRed(quint16 red)

Sets the red color component of this color to red.

See also red().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#setRed

toArgb32

toArgb32() -> int

X.toArgb32() -> int

Supplemental documentation: Qt 5 reference:

uint QRgba64::toArgb32() const

Returns the color as a 32-bit ARGB value.

See also fromArgb32().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#toArgb32

toRgb16

toRgb16() -> int

X.toRgb16() -> int

Supplemental documentation: Qt 5 reference:

ushort QRgba64::toRgb16() const

Returns the color as a 16-bit RGB value.

See also toArgb32().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#toRgb16

unpremultiplied

unpremultiplied() -> Any

X.unpremultiplied() -> PythonQt.QtGui.QRgba64

Supplemental documentation: Qt 5 reference:

QRgba64 QRgba64::unpremultiplied() const

Returns the color with the alpha unpremultiplied.

See also premultiplied().

Source: https://doc.qt.io/archives/qt-5.15/qrgba64.html#unpremultiplied