java.lang.Object
io.qt.QtObject
io.qt.gui.QRgba64
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Struct contains a 64-bit RGB color
Java wrapper for Qt class QRgba64
- Since:
- This class was introduced in Qt 5.6.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal short
alpha()
final byte
alpha8()
final void
assign
(long _rgba) final short
blue()
final byte
blue8()
clone()
Creates and returns a copy of this object.final boolean
Seeoperator==(QRgba64,
QRgba64) boolean
Seeoperator==(QRgba64,
QRgba64) 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()
Returns the objects's hash code computed byqHash(QRgba64)
.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()See
QRgba64::
QRgba64() -
QRgba64
See
QRgba64::
QRgba64(QRgba64) - Parameters:
other
-
-
-
Method Details
-
alpha
- Returns:
-
alpha8
- Returns:
-
blue
- Returns:
-
blue8
- Returns:
-
green
- Returns:
-
green8
- Returns:
-
isOpaque
- Returns:
-
isTransparent
- Returns:
-
toRgba64
- Returns:
-
assign
- Parameters:
_rgba
-
-
equals
See
operator==(QRgba64,
QRgba64) - Parameters:
v2
-- Returns:
-
premultiplied
- Returns:
-
red
- Returns:
-
red8
- Returns:
-
setAlpha
- Parameters:
_alpha
-
-
setBlue
- Parameters:
_blue
-
-
setGreen
- Parameters:
_green
-
-
setRed
- Parameters:
_red
-
-
toArgb32
- Returns:
-
toRgb16
- Returns:
-
unpremultiplied
- Returns:
-
fromArgb32
- Parameters:
rgb
-- Returns:
-
fromRgba
- Parameters:
red
-green
-blue
-alpha
-- Returns:
-
fromRgba64
- Parameters:
red
-green
-blue
-alpha
-- Returns:
-
fromRgba64
- Parameters:
c
-- Returns:
-
qPremultiply
- Parameters:
c
-- Returns:
- Since:
- This function was introduced in Qt 5.6.
-
equals
See
operator==(QRgba64,
QRgba64) -
hashCode
Returns the objects's hash code computed byqHash(QRgba64)
. -
clone
Creates and returns a copy of this object.
See
QRgba64::
QRgba64(QRgba64)
-