java.lang.Object
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 interface io.qt.gui.QPaintDevice
QPaintDevice.PaintDeviceMetric -
Constructor Summary
ConstructorsConstructorDescriptionQBitmap()QBitmap(int w, int h) SeeQBitmap::QBitmap(QBitmap) Overloaded constructor forQBitmap(java.lang.String, java.lang.String)withformat = null. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal voidclear()SeeQBitmap::clear() clone()Creates and returns a copy of this object.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) final voidfinal QBitmaptransformed(QTransform matrix) Methods inherited from class io.qt.gui.QPixmap
assign, cacheKey, colorCount, convertFromImage, convertFromImage, convertFromImage, copy, copy, copy, createHeuristicMask, createHeuristicMask, createMaskFromColor, createMaskFromColor, createMaskFromColor, createMaskFromColor, createMaskFromColor, createMaskFromColor, createMaskFromColor, createMaskFromColor, defaultDepth, depth, detach, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, equals, fill, fill, fill, 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, loadFromData, loadFromData, loadFromData, loadFromData, loadFromData, loadFromData, loadFromData, loadFromData, logicalDpiX, logicalDpiY, mask, metric, not, 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
See
QBitmap::QBitmap(QBitmap) - Parameters:
other-
-
QBitmap
- Parameters:
arg__1-
-
QBitmap
- Parameters:
arg__1-
-
QBitmap
- Parameters:
fileName-format-
-
QBitmap
public QBitmap(int w, int h) - Parameters:
w-h-
-
QBitmap
Overloaded constructor for
QBitmap(java.lang.String, java.lang.String)withformat = null.
-
-
Method Details
-
clear
See
QBitmap::clear() -
assign
- Parameters:
other-
-
swap
- Parameters:
other-- Since:
- This function was introduced in Qt 4.8.
-
transformed
- Parameters:
matrix-- Returns:
-
fromData
- Parameters:
size-bits-monoFormat-- Returns:
-
fromImage
- Parameters:
image-flags-- Returns:
-
clone
Creates and returns a copy of this object.
See
QBitmap::QBitmap(QBitmap) -
fromData
Overloaded function for
fromData(io.qt.core.QSize, byte[], io.qt.gui.QImage.Format)withmonoFormat = io.qt.gui.QImage.Format.Format_MonoLSB.
-