java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.gui.QRgba64
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Struct contains a 64-bit RGB color
Java wrapper for Qt's class QRgba64
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal short
alpha()
final byte
alpha8()
final short
blue()
final byte
blue8()
clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.static QRgba64
fromArgb32
(int rgb) static QRgba64
fromRgba
(byte red, byte green, byte blue, byte alpha) static QRgba64
fromRgba64
(long c) static QRgba64
fromRgba64
(short red, short green, short blue, short alpha) final short
green()
final byte
green8()
int
hashCode()
final boolean
isOpaque()
final boolean
final QRgba64
static QRgba64
final short
red()
final byte
red8()
final void
setAlpha
(short _alpha) final void
setBlue
(short _blue) final void
setGreen
(short _green) final void
setRed
(short _red) final int
toArgb32()
final short
toRgb16()
final long
toRgba64()
final QRgba64
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRgba64
public QRgba64() -
QRgba64
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
alpha
-
alpha8
-
blue
-
blue8
-
green
-
green8
-
isOpaque
-
isTransparent
-
toRgba64
-
premultiplied
-
red
-
red8
-
setAlpha
-
setBlue
-
setGreen
-
setRed
-
toArgb32
-
toRgb16
-
unpremultiplied
-
fromArgb32
-
fromRgba
-
fromRgba64
-
fromRgba64
-
qPremultiply
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-