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
ConstructorDescriptionQBitmap()
QBitmap
(int w, int h) SeeQBitmap::
QBitmap(QSize) SeeQBitmap::
QBitmap(QBitmap) SeeQBitmap::
QBitmap(QPixmap) Overloaded constructor forQBitmap(java.lang.String, java.lang.String)
withformat = null
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
clear()
SeeQBitmap::
clear() clone()
Creates and returns a copy of this object.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) static QBitmap
fromPixmap
(QPixmap pixmap) final void
final QBitmap
transformed
(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, deviceIndependentSize, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, encodeMetricF, 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, 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
See
QBitmap::
QBitmap(QBitmap) - Parameters:
other
-
-
QBitmap
See
QBitmap::
QBitmap(QPixmap) - Parameters:
arg__1
-
-
QBitmap
See
QBitmap::
QBitmap(QSize) - 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() -
swap
- Parameters:
other
-
-
transformed
- Parameters:
matrix
-- Returns:
-
fromData
- Parameters:
size
-bits
-monoFormat
-- Returns:
-
fromImage
- Parameters:
image
-flags
-- Returns:
-
fromPixmap
- Parameters:
pixmap
-- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
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
.
-