java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPixmap
io.qt.gui.QBitmap
- All Implemented Interfaces:
QPaintDevice
,QtObjectInterface
,Cloneable
Monochrome (1-bit depth) pixmaps
Java wrapper for Qt's class QBitmap
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
Nested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.Impl, QPaintDevice.MemberAccess, QPaintDevice.PaintDeviceMetric
-
Constructor Summary
ModifierConstructorDescriptionQBitmap()
QBitmap
(int w, int h) protected
Constructor for internal use only.Overloaded constructor forQBitmap(java.lang.String, java.lang.String)
withformat = null
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
clear()
See QBitmap::clear()clone()
static QBitmap
Overloaded function forfromData(io.qt.core.QSize, byte[], io.qt.gui.QImage.Format)
withmonoFormat = io.qt.gui.QImage.Format.Format_MonoLSB
.static QBitmap
fromData
(QSize size, byte[] bits, QImage.Format monoFormat) static QBitmap
fromImage
(QImage image, Qt.ImageConversionFlags flags) final void
final QBitmap
transformed
(QTransform matrix) Methods inherited from class io.qt.gui.QPixmap
cacheKey, colorCount, convertFromImage, convertFromImage, convertFromImage, copy, copy, copy, createHeuristicMask, createHeuristicMask, createMaskFromColor, createMaskFromColor, defaultDepth, depth, detach, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, equals, fill, fill, fromImage, fromImage, fromImageReader, fromImageReader, fromImageReader, hasAlpha, hasAlphaChannel, hashCode, height, heightMM, initPainter, isDetached, isNull, isQBitmap, load, load, load, load, loadFromData, loadFromData, loadFromData, loadFromData, loadFromData, loadFromData, loadFromData, loadFromData, logicalDpiX, logicalDpiY, mask, metric, paintEngine, paintingActive, physicalDpiX, physicalDpiY, readFrom, rect, redirected, save, save, save, save, save, save, scaled, scaled, scaled, scaled, scaled, scaled, scaledToHeight, scaledToHeight, scaledToWidth, scaledToWidth, scroll, scroll, scroll, scroll, setDevicePixelRatio, setMask, sharedPainter, size, swap, toImage, toString, transformed, trueMatrix, width, widthMM, writeTo
Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QBitmap
public QBitmap() -
QBitmap
-
QBitmap
-
QBitmap
-
QBitmap
Overloaded constructor for
QBitmap(java.lang.String, java.lang.String)
withformat = null
. -
QBitmap
-
QBitmap
public QBitmap(int w, int h) -
QBitmap
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
clear
See QBitmap::clear()
-
swap
-
transformed
-
fromData
Overloaded function for
fromData(io.qt.core.QSize, byte[], io.qt.gui.QImage.Format)
withmonoFormat = io.qt.gui.QImage.Format.Format_MonoLSB
. -
fromData
-
fromImage
-
clone
-