java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QImageIOHandler
- All Implemented Interfaces:
QtObjectInterface
public abstract class QImageIOHandler extends QtObject
Defines the common image I/O interface for all image formats in Qt
Java wrapper for Qt class QImageIOHandler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QImageIOHandler.ImageOption
Java wrapper for Qt enum QImageIOHandler::ImageOptionstatic class
QImageIOHandler.Transformation
Java wrapper for Qt enum QImageIOHandler::Transformationstatic class
QImageIOHandler.Transformations
QFlags type for enumQImageIOHandler.Transformation
-
Constructor Summary
Constructors Modifier Constructor Description QImageIOHandler()
protected
QImageIOHandler(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description static QImage
allocateImage(QSize size, QImage.Format format)
abstract boolean
canRead()
int
currentImageNumber()
QRect
currentImageRect()
QIODevice
device()
QByteArray
format()
int
imageCount()
boolean
jumpToImage(int imageNumber)
boolean
jumpToNextImage()
int
loopCount()
int
nextImageDelay()
Object
option(QImageIOHandler.ImageOption option)
abstract QImage
read()
void
setDevice(QIODevice device)
void
setFormat(QByteArray format)
void
setOption(QImageIOHandler.ImageOption option, Object value)
boolean
supportsOption(QImageIOHandler.ImageOption option)
boolean
write(QImage image)
-
Constructor Details
-
QImageIOHandler
public QImageIOHandler() -
QImageIOHandler
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details