java.lang.Object
io.qt.QtObject
io.qt.widgets.QColormap
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Maps device independent QColors to device dependent pixel values
Java wrapper for Qt class QColormap
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
clone()
Creates and returns a copy of this object.final QColor
colorAt
(int pixel) colormap()
final int
depth()
static QColormap
instance()
Overloaded function forinstance(int)
withscreen = -1
.static QColormap
instance
(int screen) final QColormap.Mode
mode()
final int
pixel
(Qt.GlobalColor color) Overloaded function forpixel(io.qt.gui.QColor)
.final int
final int
Overloaded function forpixel(io.qt.gui.QColor)
.final int
Overloaded function forpixel(io.qt.gui.QColor)
.final int
size()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QColormap
- Parameters:
colormap
-
-
-
Method Details
-
colorAt
- Parameters:
pixel
-- Returns:
-
colormap
- Returns:
-
depth
- Returns:
-
mode
- Returns:
-
assign
- Parameters:
colormap
-- Since:
- This function was introduced in Qt 4.2.
-
pixel
- Parameters:
color
-- Returns:
-
size
- Returns:
-
instance
- Parameters:
screen
-- Returns:
-
clone
Creates and returns a copy of this object.
-
pixel
Overloaded function for
pixel(io.qt.gui.QColor)
. -
pixel
Overloaded function for
pixel(io.qt.gui.QColor)
. -
pixel
Overloaded function for
pixel(io.qt.gui.QColor)
. -
instance
Overloaded function for
instance(int)
withscreen = -1
.
-