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 class QBitmap
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructorNested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.Impl, QPaintDevice.MemberAccess, QPaintDevice.PaintDeviceMetric -
Constructor Summary
ConstructorsModifierConstructorDescriptionQBitmap()QBitmap(int w, int h) Deprecated.Use fromPixmap instead.protectedConstructor for internal use only.Overloaded constructor forQBitmap(java.lang.String, java.lang.String)withformat = null. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclear()See QBitmap::clear()clone()static QBitmapOverloaded function forfromData(io.qt.core.QSize, byte[], io.qt.gui.QImage.Format)withmonoFormat = io.qt.gui.QImage.Format.Format_MonoLSB.static QBitmapfromData(QSize size, byte[] bits, QImage.Format monoFormat) static QBitmapfromImage(QImage image, Qt.ImageConversionFlags flags) static QBitmapfromPixmap(QPixmap pixmap) final voidfinal QBitmaptransformed(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, deviceIndependentSize, 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, writeToMethods inherited from class io.qt.QtObject
dispose, isDisposedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QBitmap
public QBitmap() -
QBitmap
Deprecated.Use fromPixmap instead. -
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
-
fromPixmap
-
clone
-