java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QColormap
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QColormap extends QtObject implements Cloneable
Maps device independent QColors to device dependent pixel values
Java wrapper for Qt class QColormap
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QColormap.Mode
Java wrapper for Qt enum QColormap::Mode -
Constructor Summary
Constructors Modifier Constructor Description protected
QColormap(QtObject.QPrivateConstructor p)
Constructor for internal use only.QColormap(QColormap colormap)
-
Method Summary
Modifier and Type Method Description static void
cleanup()
QColormap
clone()
QColor
colorAt(int pixel)
List<QColor>
colormap()
int
depth()
static void
initialize()
static QColormap
instance()
Overloaded function forinstance(int)
withscreen = -1
.static QColormap
instance(int screen)
QColormap.Mode
mode()
int
pixel(QColor color)
int
size()