io.qt.gui.QImage Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Hardware-independent image representation that allows direct access to the pixel data, and can be used as a paint device
* Java wrapper for Qt class QImage
*/
public class QImage extends QtObject
implements io.qt.gui.QPaintDevice,
java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QImage.class);
/**
* Java wrapper for Qt enum QImage::Format
*/
public enum Format implements QtEnumerator {
/**
* Representing QImage:: Format_Invalid
*/
Format_Invalid(0),
/**
* Representing QImage:: Format_Mono
*/
Format_Mono(1),
/**
* Representing QImage:: Format_MonoLSB
*/
Format_MonoLSB(2),
/**
* Representing QImage:: Format_Indexed8
*/
Format_Indexed8(3),
/**
* Representing QImage:: Format_RGB32
*/
Format_RGB32(4),
/**
* Representing QImage:: Format_ARGB32
*/
Format_ARGB32(5),
/**
* Representing QImage:: Format_ARGB32_Premultiplied
*/
Format_ARGB32_Premultiplied(6),
/**
* Representing QImage:: Format_RGB16
*/
Format_RGB16(7),
/**
* Representing QImage:: Format_ARGB8565_Premultiplied
*/
Format_ARGB8565_Premultiplied(8),
/**
* Representing QImage:: Format_RGB666
*/
Format_RGB666(9),
/**
* Representing QImage:: Format_ARGB6666_Premultiplied
*/
Format_ARGB6666_Premultiplied(10),
/**
* Representing QImage:: Format_RGB555
*/
Format_RGB555(11),
/**
* Representing QImage:: Format_ARGB8555_Premultiplied
*/
Format_ARGB8555_Premultiplied(12),
/**
* Representing QImage:: Format_RGB888
*/
Format_RGB888(13),
/**
* Representing QImage:: Format_RGB444
*/
Format_RGB444(14),
/**
* Representing QImage:: Format_ARGB4444_Premultiplied
*/
Format_ARGB4444_Premultiplied(15),
/**
* Representing QImage:: Format_RGBX8888
*/
Format_RGBX8888(16),
/**
* Representing QImage:: Format_RGBA8888
*/
Format_RGBA8888(17),
/**
* Representing QImage:: Format_RGBA8888_Premultiplied
*/
Format_RGBA8888_Premultiplied(18),
/**
* Representing QImage:: Format_BGR30
*/
Format_BGR30(19),
/**
* Representing QImage:: Format_A2BGR30_Premultiplied
*/
Format_A2BGR30_Premultiplied(20),
/**
* Representing QImage:: Format_RGB30
*/
Format_RGB30(21),
/**
* Representing QImage:: Format_A2RGB30_Premultiplied
*/
Format_A2RGB30_Premultiplied(22),
/**
* Representing QImage:: Format_Alpha8
*/
Format_Alpha8(23),
/**
* Representing QImage:: Format_Grayscale8
*/
Format_Grayscale8(24),
/**
* Representing QImage:: Format_RGBX64
*/
Format_RGBX64(25),
/**
* Representing QImage:: Format_RGBA64
*/
Format_RGBA64(26),
/**
* Representing QImage:: Format_RGBA64_Premultiplied
*/
Format_RGBA64_Premultiplied(27),
/**
* Representing QImage:: Format_Grayscale16
*/
Format_Grayscale16(28),
/**
* Representing QImage:: Format_BGR888
*/
Format_BGR888(29),
/**
* Representing QImage:: Format_RGBX16FPx4
*/
Format_RGBX16FPx4(30),
/**
* Representing QImage:: Format_RGBA16FPx4
*/
Format_RGBA16FPx4(31),
/**
* Representing QImage:: Format_RGBA16FPx4_Premultiplied
*/
Format_RGBA16FPx4_Premultiplied(32),
/**
* Representing QImage:: Format_RGBX32FPx4
*/
Format_RGBX32FPx4(33),
/**
* Representing QImage:: Format_RGBA32FPx4
*/
Format_RGBA32FPx4(34),
/**
* Representing QImage:: Format_RGBA32FPx4_Premultiplied
*/
Format_RGBA32FPx4_Premultiplied(35),
/**
* Representing QImage:: NImageFormats
*/
NImageFormats(36);
static {
QtJambi_LibraryUtilities.initialize();
}
private Format(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Format resolve(int value) {
switch (value) {
case 0: return Format_Invalid;
case 1: return Format_Mono;
case 2: return Format_MonoLSB;
case 3: return Format_Indexed8;
case 4: return Format_RGB32;
case 5: return Format_ARGB32;
case 6: return Format_ARGB32_Premultiplied;
case 7: return Format_RGB16;
case 8: return Format_ARGB8565_Premultiplied;
case 9: return Format_RGB666;
case 10: return Format_ARGB6666_Premultiplied;
case 11: return Format_RGB555;
case 12: return Format_ARGB8555_Premultiplied;
case 13: return Format_RGB888;
case 14: return Format_RGB444;
case 15: return Format_ARGB4444_Premultiplied;
case 16: return Format_RGBX8888;
case 17: return Format_RGBA8888;
case 18: return Format_RGBA8888_Premultiplied;
case 19: return Format_BGR30;
case 20: return Format_A2BGR30_Premultiplied;
case 21: return Format_RGB30;
case 22: return Format_A2RGB30_Premultiplied;
case 23: return Format_Alpha8;
case 24: return Format_Grayscale8;
case 25: return Format_RGBX64;
case 26: return Format_RGBA64;
case 27: return Format_RGBA64_Premultiplied;
case 28: return Format_Grayscale16;
case 29: return Format_BGR888;
case 30: return Format_RGBX16FPx4;
case 31: return Format_RGBA16FPx4;
case 32: return Format_RGBA16FPx4_Premultiplied;
case 33: return Format_RGBX32FPx4;
case 34: return Format_RGBA32FPx4;
case 35: return Format_RGBA32FPx4_Premultiplied;
case 36: return NImageFormats;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QImage::InvertMode
*/
public enum InvertMode implements QtEnumerator {
/**
* Representing QImage:: InvertRgb
*/
InvertRgb(0),
/**
* Representing QImage:: InvertRgba
*/
InvertRgba(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private InvertMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull InvertMode resolve(int value) {
switch (value) {
case 0: return InvertRgb;
case 1: return InvertRgba;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QImage:: QImage()
*/
public QImage(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QImage instance);
/**
*
*/
public QImage(io.qt.gui.@NonNull QImage arg__1){
super((QPrivateConstructor)null);
initialize_native(this, arg__1);
}
private native static void initialize_native(QImage instance, io.qt.gui.QImage arg__1);
/**
* See QImage:: QImage(QSize, QImage::Format)
*/
public QImage(io.qt.core.@NonNull QSize size, io.qt.gui.QImage.@NonNull Format format){
super((QPrivateConstructor)null);
initialize_native(this, size, format);
}
private native static void initialize_native(QImage instance, io.qt.core.QSize size, io.qt.gui.QImage.Format format);
/**
* See QImage:: QImage(QString, const char*)
*/
public QImage(java.lang.@NonNull String fileName, java.lang.@Nullable String format){
super((QPrivateConstructor)null);
initialize_native(this, fileName, format);
}
private native static void initialize_native(QImage instance, java.lang.String fileName, java.lang.String format);
/**
* See QImage:: QImage(const char*const[])
*/
public QImage(java.lang.@NonNull String @NonNull[] xpm){
super((QPrivateConstructor)null);
initialize_native(this, xpm);
}
private native static void initialize_native(QImage instance, java.lang.String[] xpm);
/**
* See QImage:: QImage(int, int, QImage::Format)
*/
public QImage(int width, int height, io.qt.gui.QImage.@NonNull Format format){
super((QPrivateConstructor)null);
initialize_native(this, width, height, format);
}
private native static void initialize_native(QImage instance, int width, int height, io.qt.gui.QImage.Format format);
/**
*
*/
@QtUninvokable
public final boolean allGray(){
return allGray_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean allGray_native_constfct(long __this__nativeId);
/**
* See QImage:: applyColorTransform(QColorTransform)
*/
@QtUninvokable
public final void applyColorTransform(io.qt.gui.@NonNull QColorTransform transform){
applyColorTransform_native_cref_QColorTransform(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(transform));
}
@QtUninvokable
private native void applyColorTransform_native_cref_QColorTransform(long __this__nativeId, long transform);
/**
* See QImage:: bitPlaneCount()const
*/
@QtUninvokable
public final int bitPlaneCount(){
return bitPlaneCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int bitPlaneCount_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final java.nio.@Nullable ByteBuffer bits(){
return bits_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.nio.ByteBuffer bits_native_constfct(long __this__nativeId);
/**
* See QImage:: bytesPerLine()const
*/
@QtUninvokable
public final long bytesPerLine(){
return bytesPerLine_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long bytesPerLine_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final long cacheKey(){
return cacheKey_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long cacheKey_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final int color(int i){
return color_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native int color_native_int_constfct(long __this__nativeId, int i);
/**
* See QPaintDevice:: colorCount()const
*/
@QtUninvokable
public final int colorCount(){
return colorCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int colorCount_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QColorSpace colorSpace(){
return colorSpace_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QColorSpace colorSpace_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QList colorTable(){
return colorTable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList colorTable_native_constfct(long __this__nativeId);
/**
* See QImage:: colorTransformed(QColorTransform)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage colorTransformed(io.qt.gui.@NonNull QColorTransform transform){
return colorTransformed_native_cref_QColorTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(transform));
}
@QtUninvokable
private native io.qt.gui.QImage colorTransformed_native_cref_QColorTransform_constfct(long __this__nativeId, long transform);
/**
*
*/
@QtUninvokable
public final byte @StrictNonNull[] bytes(){
return bytes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native byte[] bytes_native_constfct(long __this__nativeId);
/**
* See QImage:: convertTo(QImage::Format, Qt::ImageConversionFlags)
*/
@QtUninvokable
public final void convertTo(io.qt.gui.QImage.@NonNull Format f, io.qt.core.Qt.@NonNull ImageConversionFlags flags){
convertTo_native_QImage_Format_Qt_ImageConversionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), f.value(), flags.value());
}
@QtUninvokable
private native void convertTo_native_QImage_Format_Qt_ImageConversionFlags(long __this__nativeId, int f, int flags);
/**
* See QImage:: convertToColorSpace(QColorSpace)
*/
@QtUninvokable
public final void convertToColorSpace(io.qt.gui.@NonNull QColorSpace arg__1){
convertToColorSpace_native_cref_QColorSpace(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void convertToColorSpace_native_cref_QColorSpace(long __this__nativeId, long arg__1);
/**
* See QImage:: convertToFormat(QImage::Format, QList<QRgb>, Qt::ImageConversionFlags)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertToFormat(io.qt.gui.QImage.@NonNull Format f, java.util.@NonNull Collection colorTable, io.qt.core.Qt.@NonNull ImageConversionFlags flags){
return convertToFormat_native_QImage_Format_cref_QList_Qt_ImageConversionFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), f.value(), colorTable, flags.value());
}
@QtUninvokable
private native io.qt.gui.QImage convertToFormat_native_QImage_Format_cref_QList_Qt_ImageConversionFlags_constfct(long __this__nativeId, int f, java.util.Collection colorTable, int flags);
/**
* See QImage:: convertToFormat(QImage::Format, Qt::ImageConversionFlags)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertToFormat(io.qt.gui.QImage.@NonNull Format f, io.qt.core.Qt.@NonNull ImageConversionFlags flags){
return convertToFormat_native_QImage_Format_Qt_ImageConversionFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), f.value(), flags.value());
}
@QtUninvokable
private native io.qt.gui.QImage convertToFormat_native_QImage_Format_Qt_ImageConversionFlags_constfct(long __this__nativeId, int f, int flags);
/**
* See QImage:: convertedTo(QImage::Format, Qt::ImageConversionFlags)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertedTo(io.qt.gui.QImage.@NonNull Format f, io.qt.core.Qt.@NonNull ImageConversionFlags flags){
return convertedTo_native_QImage_Format_Qt_ImageConversionFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), f.value(), flags.value());
}
@QtUninvokable
private native io.qt.gui.QImage convertedTo_native_QImage_Format_Qt_ImageConversionFlags_constfct(long __this__nativeId, int f, int flags);
/**
* See QImage:: convertedToColorSpace(QColorSpace)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertedToColorSpace(io.qt.gui.@NonNull QColorSpace arg__1){
return convertedToColorSpace_native_cref_QColorSpace_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native io.qt.gui.QImage convertedToColorSpace_native_cref_QColorSpace_constfct(long __this__nativeId, long arg__1);
/**
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage copy(io.qt.core.@NonNull QRect rect){
return copy_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@QtUninvokable
private native io.qt.gui.QImage copy_native_cref_QRect_constfct(long __this__nativeId, long rect);
/**
* See QImage:: copy(int, int, int, int)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage copy(int x, int y, int w, int h){
return copy_native_int_int_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h);
}
@QtUninvokable
private native io.qt.gui.QImage copy_native_int_int_int_int_constfct(long __this__nativeId, int x, int y, int w, int h);
/**
* See QImage:: createAlphaMask(Qt::ImageConversionFlags)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage createAlphaMask(io.qt.core.Qt.@NonNull ImageConversionFlags flags){
return createAlphaMask_native_Qt_ImageConversionFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value());
}
@QtUninvokable
private native io.qt.gui.QImage createAlphaMask_native_Qt_ImageConversionFlags_constfct(long __this__nativeId, int flags);
/**
* See QImage:: createHeuristicMask(bool)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage createHeuristicMask(boolean clipTight){
return createHeuristicMask_native_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), clipTight);
}
@QtUninvokable
private native io.qt.gui.QImage createHeuristicMask_native_bool_constfct(long __this__nativeId, boolean clipTight);
/**
* See QImage:: createMaskFromColor(QRgb, Qt::MaskMode)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage createMaskFromColor(int color, io.qt.core.Qt.@NonNull MaskMode mode){
return createMaskFromColor_native_unsigned_int_Qt_MaskMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), color, mode.value());
}
@QtUninvokable
private native io.qt.gui.QImage createMaskFromColor_native_unsigned_int_Qt_MaskMode_constfct(long __this__nativeId, int color, int mode);
/**
* See QPaintDevice:: depth()const
*/
@QtUninvokable
public final int depth(){
return depth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int depth_native_constfct(long __this__nativeId);
/**
* See QImage:: detach()
*/
@QtUninvokable
public final void detach(){
detach_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void detach_native(long __this__nativeId);
/**
* See QImage:: detachMetadata(bool)
*/
@QtUninvokable
protected final void detachMetadata(boolean invalidateCache){
detachMetadata_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), invalidateCache);
}
@QtUninvokable
private native void detachMetadata_native_bool(long __this__nativeId, boolean invalidateCache);
/**
* See QImage:: deviceIndependentSize()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSizeF deviceIndependentSize(){
return deviceIndependentSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSizeF deviceIndependentSize_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: devicePixelRatio()const
*/
@QtUninvokable
public final double devicePixelRatio(){
return devicePixelRatio_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static double devicePixelRatio_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: devicePixelRatioF()const
*/
@QtUninvokable
public final double devicePixelRatioF(){
return devicePixelRatioF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static double devicePixelRatioF_native_constfct(long __this__nativeId);
/**
* See QImage:: dotsPerMeterX()const
*/
@QtUninvokable
public final int dotsPerMeterX(){
return dotsPerMeterX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int dotsPerMeterX_native_constfct(long __this__nativeId);
/**
* See QImage:: dotsPerMeterY()const
*/
@QtUninvokable
public final int dotsPerMeterY(){
return dotsPerMeterY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int dotsPerMeterY_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void fill(io.qt.gui.@NonNull QColor color){
fill_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(color));
}
@QtUninvokable
private native void fill_native_cref_QColor(long __this__nativeId, long color);
/**
* See QImage:: fill(Qt::GlobalColor)
*/
@QtUninvokable
public final void fill(io.qt.core.Qt.@NonNull GlobalColor color){
fill_native_Qt_GlobalColor(QtJambi_LibraryUtilities.internal.nativeId(this), color.value());
}
@QtUninvokable
private native void fill_native_Qt_GlobalColor(long __this__nativeId, int color);
/**
*
*/
@QtUninvokable
public final void fill(int pixel){
fill_native_uint(QtJambi_LibraryUtilities.internal.nativeId(this), pixel);
}
@QtUninvokable
private native void fill_native_uint(long __this__nativeId, int pixel);
/**
*
*/
@QtUninvokable
public final io.qt.gui.QImage.@NonNull Format format(){
return io.qt.gui.QImage.Format.resolve(format_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int format_native_constfct(long __this__nativeId);
/**
* See QImage:: hasAlphaChannel()const
*/
@QtUninvokable
public final boolean hasAlphaChannel(){
return hasAlphaChannel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasAlphaChannel_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: height()const
*/
@QtUninvokable
public final int height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int height_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: heightMM()const
*/
@QtUninvokable
public final int heightMM(){
return heightMM_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int heightMM_native_constfct(long __this__nativeId);
/**
* See QImage:: invertPixels(QImage::InvertMode)
*/
@QtUninvokable
public final void invertPixels(io.qt.gui.QImage.@NonNull InvertMode arg__1){
invertPixels_native_QImage_InvertMode(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@QtUninvokable
private native void invertPixels_native_QImage_InvertMode(long __this__nativeId, int arg__1);
/**
* See QImage:: isDetached()const
*/
@QtUninvokable
public final boolean isDetached(){
return isDetached_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDetached_native_constfct(long __this__nativeId);
/**
* See QImage:: isGrayscale()const
*/
@QtUninvokable
public final boolean isGrayscale(){
return isGrayscale_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isGrayscale_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isNull(){
return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isNull_native_constfct(long __this__nativeId);
/**
* See QImage:: load(QIODevice*, const char*)
*/
@QtUninvokable
public final boolean load(io.qt.core.@Nullable QIODevice device, java.lang.@Nullable String format){
return load_native_QIODevice_ptr_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(device), format);
}
@QtUninvokable
private native boolean load_native_QIODevice_ptr_const_char_ptr(long __this__nativeId, long device, java.lang.String format);
/**
* See QImage:: load(QString, const char*)
*/
@QtUninvokable
public final boolean load(java.lang.@NonNull String fileName, java.lang.@Nullable String format){
return load_native_cref_QString_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), fileName, format);
}
@QtUninvokable
private native boolean load_native_cref_QString_const_char_ptr(long __this__nativeId, java.lang.String fileName, java.lang.String format);
/**
* See QImage:: loadFromData(QByteArray, const char*)
*/
@QtUninvokable
public final boolean loadFromData(io.qt.core.@NonNull QByteArray data, java.lang.@Nullable String format){
return loadFromData_native_cref_QByteArray_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(data), format);
}
@QtUninvokable
private native boolean loadFromData_native_cref_QByteArray_const_char_ptr(long __this__nativeId, long data, java.lang.String format);
/**
* See QImage:: loadFromData(QByteArrayView, const char*)
*/
@QtUninvokable
public final boolean loadFromData(io.qt.core.@NonNull QByteArrayView data, java.lang.@Nullable String format){
return loadFromData_native_QByteArrayView_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(data), format);
}
@QtUninvokable
private native boolean loadFromData_native_QByteArrayView_const_char_ptr(long __this__nativeId, long data, java.lang.String format);
/**
* See QImage:: loadFromData(const uchar*, int, const char*)
*/
@QtUninvokable
public final boolean loadFromData(java.nio.@Nullable ByteBuffer buf, java.lang.@Nullable String format){
return loadFromData_native_const_uchar_ptr_int_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), buf, format);
}
@QtUninvokable
private native boolean loadFromData_native_const_uchar_ptr_int_const_char_ptr(long __this__nativeId, java.nio.ByteBuffer buf, java.lang.String format);
/**
* See QPaintDevice:: logicalDpiX()const
*/
@QtUninvokable
public final int logicalDpiX(){
return logicalDpiX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int logicalDpiX_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: logicalDpiY()const
*/
@QtUninvokable
public final int logicalDpiY(){
return logicalDpiY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int logicalDpiY_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void mirror(boolean horizontally, boolean vertically){
mirror_native_bool_bool(QtJambi_LibraryUtilities.internal.nativeId(this), horizontally, vertically);
}
@QtUninvokable
private native void mirror_native_bool_bool(long __this__nativeId, boolean horizontally, boolean vertically);
/**
* See QImage:: mirrored(bool, bool)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage mirrored(boolean horizontally, boolean vertically){
return mirrored_native_bool_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), horizontally, vertically);
}
@QtUninvokable
private native io.qt.gui.QImage mirrored_native_bool_bool_constfct(long __this__nativeId, boolean horizontally, boolean vertically);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint offset(){
return offset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint offset_native_constfct(long __this__nativeId);
/**
* See operator<<(QDataStream&, QImage)
*/
@QtUninvokable
public void writeTo(io.qt.core.@StrictNonNull QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
*
*/
@QtUninvokable
public final void assign(io.qt.gui.@NonNull QImage arg__1){
assign_native_cref_QImage(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void assign_native_cref_QImage(long __this__nativeId, long arg__1);
/**
* See QImage:: operator==(QImage)const
*/
@QtUninvokable
public final boolean equals(io.qt.gui.@NonNull QImage arg__1){
return equals_native_cref_QImage_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native boolean equals_native_cref_QImage_constfct(long __this__nativeId, long arg__1);
/**
* See operator>>(QDataStream&, QImage&)
*/
@QtUninvokable
public void readFrom(io.qt.core.@StrictNonNull QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
* See QPaintDevice:: paintingActive()const
*/
@QtUninvokable
public final boolean paintingActive(){
return paintingActive_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean paintingActive_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: physicalDpiX()const
*/
@QtUninvokable
public final int physicalDpiX(){
return physicalDpiX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int physicalDpiX_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: physicalDpiY()const
*/
@QtUninvokable
public final int physicalDpiY(){
return physicalDpiY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int physicalDpiY_native_constfct(long __this__nativeId);
/**
* See QImage:: pixel(QPoint)const
*/
@QtUninvokable
public final int pixel(io.qt.core.@NonNull QPoint pt){
return pixel_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt));
}
@QtUninvokable
private native int pixel_native_cref_QPoint_constfct(long __this__nativeId, long pt);
/**
* See QImage:: pixel(int, int)const
*/
@QtUninvokable
public final int pixel(int x, int y){
return pixel_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y);
}
@QtUninvokable
private native int pixel_native_int_int_constfct(long __this__nativeId, int x, int y);
/**
* See QImage:: pixelColor(QPoint)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QColor pixelColor(io.qt.core.@NonNull QPoint pt){
return pixelColor_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt));
}
@QtUninvokable
private native io.qt.gui.QColor pixelColor_native_cref_QPoint_constfct(long __this__nativeId, long pt);
/**
* See QImage:: pixelColor(int, int)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QColor pixelColor(int x, int y){
return pixelColor_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y);
}
@QtUninvokable
private native io.qt.gui.QColor pixelColor_native_int_int_constfct(long __this__nativeId, int x, int y);
/**
* See QImage:: pixelFormat()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QPixelFormat pixelFormat(){
return pixelFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QPixelFormat pixelFormat_native_constfct(long __this__nativeId);
/**
* See QImage:: pixelIndex(QPoint)const
*/
@QtUninvokable
public final int pixelIndex(io.qt.core.@NonNull QPoint pt){
return pixelIndex_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt));
}
@QtUninvokable
private native int pixelIndex_native_cref_QPoint_constfct(long __this__nativeId, long pt);
/**
* See QImage:: pixelIndex(int, int)const
*/
@QtUninvokable
public final int pixelIndex(int x, int y){
return pixelIndex_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y);
}
@QtUninvokable
private native int pixelIndex_native_int_int_constfct(long __this__nativeId, int x, int y);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect rect(){
return rect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRect rect_native_constfct(long __this__nativeId);
/**
* See QImage:: reinterpretAsFormat(QImage::Format)
*/
@QtUninvokable
public final boolean reinterpretAsFormat(io.qt.gui.QImage.@NonNull Format f){
return reinterpretAsFormat_native_QImage_Format(QtJambi_LibraryUtilities.internal.nativeId(this), f.value());
}
@QtUninvokable
private native boolean reinterpretAsFormat_native_QImage_Format(long __this__nativeId, int f);
/**
*
*/
@QtUninvokable
public final void rgbSwap(){
rgbSwap_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void rgbSwap_native(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage rgbSwapped(){
return rgbSwapped_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QImage rgbSwapped_native_constfct(long __this__nativeId);
/**
* See QImage:: save(QIODevice*, const char*, int)const
*/
@QtUninvokable
public final boolean save(io.qt.core.@Nullable QIODevice device, java.lang.@Nullable String format, int quality){
return save_native_QIODevice_ptr_const_char_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(device), format, quality);
}
@QtUninvokable
private native boolean save_native_QIODevice_ptr_const_char_ptr_int_constfct(long __this__nativeId, long device, java.lang.String format, int quality);
/**
* See QImage:: save(QString, const char*, int)const
*/
@QtUninvokable
public final boolean save(java.lang.@NonNull String fileName, java.lang.@Nullable String format, int quality){
return save_native_cref_QString_const_char_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), fileName, format, quality);
}
@QtUninvokable
private native boolean save_native_cref_QString_const_char_ptr_int_constfct(long __this__nativeId, java.lang.String fileName, java.lang.String format, int quality);
/**
* See QImage:: scaled(QSize, Qt::AspectRatioMode, Qt::TransformationMode)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage scaled(io.qt.core.@NonNull QSize s, io.qt.core.Qt.@NonNull AspectRatioMode aspectMode, io.qt.core.Qt.@NonNull TransformationMode mode){
return scaled_native_cref_QSize_Qt_AspectRatioMode_Qt_TransformationMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(s), aspectMode.value(), mode.value());
}
@QtUninvokable
private native io.qt.gui.QImage scaled_native_cref_QSize_Qt_AspectRatioMode_Qt_TransformationMode_constfct(long __this__nativeId, long s, int aspectMode, int mode);
/**
* See QImage:: scaled(int, int, Qt::AspectRatioMode, Qt::TransformationMode)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage scaled(int w, int h, io.qt.core.Qt.@NonNull AspectRatioMode aspectMode, io.qt.core.Qt.@NonNull TransformationMode mode){
return scaled_native_int_int_Qt_AspectRatioMode_Qt_TransformationMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), w, h, aspectMode.value(), mode.value());
}
@QtUninvokable
private native io.qt.gui.QImage scaled_native_int_int_Qt_AspectRatioMode_Qt_TransformationMode_constfct(long __this__nativeId, int w, int h, int aspectMode, int mode);
/**
* See QImage:: scaledToHeight(int, Qt::TransformationMode)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage scaledToHeight(int h, io.qt.core.Qt.@NonNull TransformationMode mode){
return scaledToHeight_native_int_Qt_TransformationMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), h, mode.value());
}
@QtUninvokable
private native io.qt.gui.QImage scaledToHeight_native_int_Qt_TransformationMode_constfct(long __this__nativeId, int h, int mode);
/**
* See QImage:: scaledToWidth(int, Qt::TransformationMode)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage scaledToWidth(int w, io.qt.core.Qt.@NonNull TransformationMode mode){
return scaledToWidth_native_int_Qt_TransformationMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), w, mode.value());
}
@QtUninvokable
private native io.qt.gui.QImage scaledToWidth_native_int_Qt_TransformationMode_constfct(long __this__nativeId, int w, int mode);
/**
* See QImage:: scanLine(int)const
*/
@QtUninvokable
public final java.nio.@Nullable ByteBuffer scanLine(int arg__1){
return scanLine_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native java.nio.ByteBuffer scanLine_native_int_constfct(long __this__nativeId, int arg__1);
/**
* See QImage:: setAlphaChannel(QImage)
*/
@QtUninvokable
public final void setAlphaChannel(io.qt.gui.@NonNull QImage alphaChannel){
setAlphaChannel_native_cref_QImage(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(alphaChannel));
}
@QtUninvokable
private native void setAlphaChannel_native_cref_QImage(long __this__nativeId, long alphaChannel);
/**
* See QImage:: setColor(int, QRgb)
*/
@QtUninvokable
public final void setColor(int i, int c){
setColor_native_int_unsigned_int(QtJambi_LibraryUtilities.internal.nativeId(this), i, c);
}
@QtUninvokable
private native void setColor_native_int_unsigned_int(long __this__nativeId, int i, int c);
/**
* See QImage:: setColorCount(int)
*/
@QtUninvokable
public final void setColorCount(int arg__1){
setColorCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setColorCount_native_int(long __this__nativeId, int arg__1);
/**
* See QImage:: setColorSpace(QColorSpace)
*/
@QtUninvokable
public final void setColorSpace(io.qt.gui.@NonNull QColorSpace arg__1){
setColorSpace_native_cref_QColorSpace(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void setColorSpace_native_cref_QColorSpace(long __this__nativeId, long arg__1);
/**
* See QImage:: setColorTable(QList<QRgb>)
*/
@QtUninvokable
public final void setColorTable(java.util.@NonNull Collection colors){
setColorTable_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), colors);
}
@QtUninvokable
private native void setColorTable_native_cref_QList(long __this__nativeId, java.util.Collection colors);
/**
* See QImage:: setDevicePixelRatio(qreal)
*/
@QtUninvokable
public final void setDevicePixelRatio(double scaleFactor){
setDevicePixelRatio_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), scaleFactor);
}
@QtUninvokable
private native void setDevicePixelRatio_native_qreal(long __this__nativeId, double scaleFactor);
/**
* See QImage:: setDotsPerMeterX(int)
*/
@QtUninvokable
public final void setDotsPerMeterX(int arg__1){
setDotsPerMeterX_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setDotsPerMeterX_native_int(long __this__nativeId, int arg__1);
/**
* See QImage:: setDotsPerMeterY(int)
*/
@QtUninvokable
public final void setDotsPerMeterY(int arg__1){
setDotsPerMeterY_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setDotsPerMeterY_native_int(long __this__nativeId, int arg__1);
/**
*
*/
@QtUninvokable
public final void setOffset(io.qt.core.@NonNull QPoint arg__1){
setOffset_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void setOffset_native_cref_QPoint(long __this__nativeId, long arg__1);
/**
* See QImage:: setPixel(QPoint, uint)
*/
@QtUninvokable
public final void setPixel(io.qt.core.@NonNull QPoint pt, int index_or_rgb){
setPixel_native_cref_QPoint_uint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt), index_or_rgb);
}
@QtUninvokable
private native void setPixel_native_cref_QPoint_uint(long __this__nativeId, long pt, int index_or_rgb);
/**
* See QImage:: setPixel(int, int, uint)
*/
@QtUninvokable
public final void setPixel(int x, int y, int index_or_rgb){
setPixel_native_int_int_uint(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, index_or_rgb);
}
@QtUninvokable
private native void setPixel_native_int_int_uint(long __this__nativeId, int x, int y, int index_or_rgb);
/**
* See QImage:: setPixelColor(QPoint, QColor)
*/
@QtUninvokable
public final void setPixelColor(io.qt.core.@NonNull QPoint pt, io.qt.gui.@NonNull QColor c){
setPixelColor_native_cref_QPoint_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt), QtJambi_LibraryUtilities.internal.checkedNativeId(c));
}
@QtUninvokable
private native void setPixelColor_native_cref_QPoint_cref_QColor(long __this__nativeId, long pt, long c);
/**
* See QImage:: setPixelColor(int, int, QColor)
*/
@QtUninvokable
public final void setPixelColor(int x, int y, io.qt.gui.@NonNull QColor c){
setPixelColor_native_int_int_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, QtJambi_LibraryUtilities.internal.checkedNativeId(c));
}
@QtUninvokable
private native void setPixelColor_native_int_int_cref_QColor(long __this__nativeId, int x, int y, long c);
/**
* See QImage:: setText(QString, QString)
*/
@QtUninvokable
public final void setText(java.lang.@NonNull String key, java.lang.@NonNull String value){
setText_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), key, value);
}
@QtUninvokable
private native void setText_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String key, java.lang.String value);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize size(){
return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize size_native_constfct(long __this__nativeId);
/**
* See QImage:: sizeInBytes()const
*/
@QtUninvokable
public final long sizeInBytes(){
return sizeInBytes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long sizeInBytes_native_constfct(long __this__nativeId);
/**
* See QImage:: smoothScaled(int, int)const
*/
@QtUninvokable
protected final io.qt.gui.@NonNull QImage smoothScaled(int w, int h){
return smoothScaled_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), w, h);
}
@QtUninvokable
private native io.qt.gui.QImage smoothScaled_native_int_int_constfct(long __this__nativeId, int w, int h);
/**
*
*/
@QtUninvokable
public final void swap(io.qt.gui.@StrictNonNull QImage other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QImage(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QImage(long __this__nativeId, long other);
/**
* See QImage:: text(QString)const
*/
@QtUninvokable
public final java.lang.@NonNull String text(java.lang.@NonNull String key){
return text_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), key);
}
@QtUninvokable
private native java.lang.String text_native_cref_QString_constfct(long __this__nativeId, java.lang.String key);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList textKeys(){
return textKeys_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList textKeys_native_constfct(long __this__nativeId);
/**
* See QImage:: transformed(QTransform, Qt::TransformationMode)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage transformed(io.qt.gui.@NonNull QTransform matrix, io.qt.core.Qt.@NonNull TransformationMode mode){
return transformed_native_cref_QTransform_Qt_TransformationMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(matrix), mode.value());
}
@QtUninvokable
private native io.qt.gui.QImage transformed_native_cref_QTransform_Qt_TransformationMode_constfct(long __this__nativeId, long matrix, int mode);
/**
* See QImage:: valid(QPoint)const
*/
@QtUninvokable
public final boolean valid(io.qt.core.@NonNull QPoint pt){
return valid_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt));
}
@QtUninvokable
private native boolean valid_native_cref_QPoint_constfct(long __this__nativeId, long pt);
/**
* See QImage:: valid(int, int)const
*/
@QtUninvokable
public final boolean valid(int x, int y){
return valid_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y);
}
@QtUninvokable
private native boolean valid_native_int_int_constfct(long __this__nativeId, int x, int y);
/**
* See QPaintDevice:: width()const
*/
@QtUninvokable
public final int width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int width_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: widthMM()const
*/
@QtUninvokable
public final int widthMM(){
return widthMM_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int widthMM_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: initPainter(QPainter*)const
*/
@QtUninvokable
protected void initPainter(io.qt.gui.@Nullable QPainter painter){
initPainter_native_QPainter_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter));
}
private native static void initPainter_native_QPainter_ptr_constfct(long __this__nativeId, long painter);
/**
* See QPaintDevice:: metric(QPaintDevice::PaintDeviceMetric)const
*/
@QtUninvokable
protected int metric(io.qt.gui.QPaintDevice.@NonNull PaintDeviceMetric metric){
return metric_native_QPaintDevice_PaintDeviceMetric_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), metric.value());
}
private native static int metric_native_QPaintDevice_PaintDeviceMetric_constfct(long __this__nativeId, int metric);
/**
* See QPaintDevice:: paintEngine()const
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QPaintEngine paintEngine(){
return paintEngine_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.gui.QPaintEngine paintEngine_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: redirected(QPoint*)const
*/
@QtUninvokable
protected io.qt.gui.@Nullable QPaintDevice redirected(io.qt.core.@Nullable QPoint offset){
return redirected_native_QPoint_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(offset));
}
private native static io.qt.gui.QPaintDevice redirected_native_QPoint_ptr_constfct(long __this__nativeId, long offset);
/**
* See QPaintDevice:: sharedPainter()const
*/
@QtUninvokable
protected io.qt.gui.@Nullable QPainter sharedPainter(){
return sharedPainter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.gui.QPainter sharedPainter_native_constfct(long __this__nativeId);
/**
* See QPaintDevice:: devicePixelRatioFScale()
*/
public native static double devicePixelRatioFScale();
/**
* See QImage:: fromData(QByteArray, const char*)
*/
public static io.qt.gui.@NonNull QImage fromData(io.qt.core.@NonNull QByteArray data, java.lang.@Nullable String format){
return fromData_native_cref_QByteArray_const_char_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(data), format);
}
private native static io.qt.gui.QImage fromData_native_cref_QByteArray_const_char_ptr(long data, java.lang.String format);
/**
* See QImage:: fromData(QByteArrayView, const char*)
*/
public static io.qt.gui.@NonNull QImage fromData(io.qt.core.@NonNull QByteArrayView data, java.lang.@Nullable String format){
return fromData_native_QByteArrayView_const_char_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(data), format);
}
private native static io.qt.gui.QImage fromData_native_QByteArrayView_const_char_ptr(long data, java.lang.String format);
/**
* See QImage:: fromData(const uchar*, int, const char*)
*/
public native static io.qt.gui.@NonNull QImage fromData(java.nio.@Nullable ByteBuffer data, java.lang.@Nullable String format);
/**
* See QImage:: toImageFormat(QPixelFormat)
*/
public static io.qt.gui.QImage.@NonNull Format toImageFormat(io.qt.gui.@NonNull QPixelFormat format){
return io.qt.gui.QImage.Format.resolve(toImageFormat_native_QPixelFormat(QtJambi_LibraryUtilities.internal.checkedNativeId(format)));
}
private native static int toImageFormat_native_QPixelFormat(long format);
/**
* See QImage:: toPixelFormat(QImage::Format)
*/
public static io.qt.gui.@NonNull QPixelFormat toPixelFormat(io.qt.gui.QImage.@NonNull Format format){
return toPixelFormat_native_QImage_Format(format.value());
}
private native static io.qt.gui.QPixelFormat toPixelFormat_native_QImage_Format(int format);
/**
* See QImage:: trueMatrix(QTransform, int, int)
*/
public static io.qt.gui.@NonNull QTransform trueMatrix(io.qt.gui.@NonNull QTransform arg__1, int w, int h){
return trueMatrix_native_cref_QTransform_int_int(QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1), w, h);
}
private native static io.qt.gui.QTransform trueMatrix_native_cref_QTransform_int_int(long arg__1, int w, int h);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QImage(QPrivateConstructor p) { super(p); }
/**
* See QImage:: operator==(QImage)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QImage) {
return equals((io.qt.gui.QImage) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QImage)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
public QImage(byte data[], int width, int height, Format format) {
initialize_native(this, data, width, height, format);
}
private static native void initialize_native(QImage instance, byte data[], int width, int height, Format format);
public QImage(java.nio.Buffer data, int width, int height, Format format) {
initialize_native(this, data, width, height, format);
}
private static native void initialize_native(QImage instance, java.nio.Buffer data, int width, int height, Format format);
/**
* See operator<<(QDebug, QImage)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
*/
@QtUninvokable
@Override
public QImage clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QImage clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #QImage(java.lang.String, java.lang.String)}
* with format = null
.
*/
public QImage(java.lang.@NonNull String fileName) {
this(fileName, (java.lang.String)null);
}
/**
* Overloaded function for {@link #convertTo(io.qt.gui.QImage.Format, io.qt.core.Qt.ImageConversionFlags)}
* with flags = new io.qt.core.Qt.ImageConversionFlags(0)
.
*/
@QtUninvokable
public final void convertTo(io.qt.gui.QImage.@NonNull Format f) {
convertTo(f, new io.qt.core.Qt.ImageConversionFlags(0));
}
/**
* Overloaded function for {@link #convertTo(io.qt.gui.QImage.Format, io.qt.core.Qt.ImageConversionFlags)}.
*/
@QtUninvokable
public final void convertTo(io.qt.gui.QImage.@NonNull Format f, io.qt.core.Qt.@NonNull ImageConversionFlag @NonNull... flags) {
convertTo(f, new io.qt.core.Qt.ImageConversionFlags(flags));
}
/**
* Overloaded function for {@link #convertToColorSpace(io.qt.gui.QColorSpace)}.
*/
@QtUninvokable
public final void convertToColorSpace(io.qt.gui.QColorSpace.@NonNull NamedColorSpace arg__1) {
convertToColorSpace(new io.qt.gui.QColorSpace(arg__1));
}
/**
* Overloaded function for {@link #convertToFormat(io.qt.gui.QImage.Format, java.util.Collection, io.qt.core.Qt.ImageConversionFlags)}
* with flags = new io.qt.core.Qt.ImageConversionFlags(0)
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertToFormat(io.qt.gui.QImage.@NonNull Format f, java.util.@NonNull Collection colorTable) {
return convertToFormat(f, colorTable, new io.qt.core.Qt.ImageConversionFlags(0));
}
/**
* Overloaded function for {@link #convertToFormat(io.qt.gui.QImage.Format, java.util.Collection, io.qt.core.Qt.ImageConversionFlags)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertToFormat(io.qt.gui.QImage.@NonNull Format f, java.util.@NonNull Collection colorTable, io.qt.core.Qt.@NonNull ImageConversionFlag @NonNull... flags) {
return convertToFormat(f, colorTable, new io.qt.core.Qt.ImageConversionFlags(flags));
}
/**
* Overloaded function for {@link #convertToFormat(io.qt.gui.QImage.Format, io.qt.core.Qt.ImageConversionFlags)}
* with flags = new io.qt.core.Qt.ImageConversionFlags(0)
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertToFormat(io.qt.gui.QImage.@NonNull Format f) {
return convertToFormat(f, new io.qt.core.Qt.ImageConversionFlags(0));
}
/**
* Overloaded function for {@link #convertToFormat(io.qt.gui.QImage.Format, io.qt.core.Qt.ImageConversionFlags)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertToFormat(io.qt.gui.QImage.@NonNull Format f, io.qt.core.Qt.@NonNull ImageConversionFlag @NonNull... flags) {
return convertToFormat(f, new io.qt.core.Qt.ImageConversionFlags(flags));
}
/**
* Overloaded function for {@link #convertedTo(io.qt.gui.QImage.Format, io.qt.core.Qt.ImageConversionFlags)}
* with flags = new io.qt.core.Qt.ImageConversionFlags(0)
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertedTo(io.qt.gui.QImage.@NonNull Format f) {
return convertedTo(f, new io.qt.core.Qt.ImageConversionFlags(0));
}
/**
* Overloaded function for {@link #convertedTo(io.qt.gui.QImage.Format, io.qt.core.Qt.ImageConversionFlags)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertedTo(io.qt.gui.QImage.@NonNull Format f, io.qt.core.Qt.@NonNull ImageConversionFlag @NonNull... flags) {
return convertedTo(f, new io.qt.core.Qt.ImageConversionFlags(flags));
}
/**
* Overloaded function for {@link #convertedToColorSpace(io.qt.gui.QColorSpace)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage convertedToColorSpace(io.qt.gui.QColorSpace.@NonNull NamedColorSpace arg__1) {
return convertedToColorSpace(new io.qt.gui.QColorSpace(arg__1));
}
/**
* Overloaded function for {@link #copy(io.qt.core.QRect)}
* with rect = new io.qt.core.QRect()
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage copy() {
return copy(new io.qt.core.QRect());
}
/**
* Overloaded function for {@link #createAlphaMask(io.qt.core.Qt.ImageConversionFlags)}
* with flags = new io.qt.core.Qt.ImageConversionFlags(0)
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage createAlphaMask() {
return createAlphaMask(new io.qt.core.Qt.ImageConversionFlags(0));
}
/**
* Overloaded function for {@link #createAlphaMask(io.qt.core.Qt.ImageConversionFlags)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage createAlphaMask(io.qt.core.Qt.@NonNull ImageConversionFlag @NonNull... flags) {
return createAlphaMask(new io.qt.core.Qt.ImageConversionFlags(flags));
}
/**
* Overloaded function for {@link #createHeuristicMask(boolean)}
* with clipTight = true
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage createHeuristicMask() {
return createHeuristicMask((boolean)true);
}
/**
* Overloaded function for {@link #createMaskFromColor(int, io.qt.core.Qt.MaskMode)}
* with mode = io.qt.core.Qt.MaskMode.MaskInColor
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage createMaskFromColor(int color) {
return createMaskFromColor(color, io.qt.core.Qt.MaskMode.MaskInColor);
}
/**
* Overloaded function for {@link #detachMetadata(boolean)}
* with invalidateCache = false
.
*/
@QtUninvokable
protected final void detachMetadata() {
detachMetadata((boolean)false);
}
/**
* Overloaded function for {@link #fill(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void fill(io.qt.gui.@NonNull QRgba64 color) {
fill(new io.qt.gui.QColor(color));
}
/**
* Overloaded function for {@link #fill(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void fill(java.lang.@NonNull String color) {
fill(new io.qt.gui.QColor(color));
}
/**
* Overloaded function for {@link #invertPixels(io.qt.gui.QImage.InvertMode)}
* with arg__1 = io.qt.gui.QImage.InvertMode.InvertRgb
.
*/
@QtUninvokable
public final void invertPixels() {
invertPixels(io.qt.gui.QImage.InvertMode.InvertRgb);
}
/**
* Overloaded function for {@link #load(java.lang.String, java.lang.String)}
* with format = null
.
*/
@QtUninvokable
public final boolean load(java.lang.@NonNull String fileName) {
return load(fileName, (java.lang.String)null);
}
/**
* Overloaded function for {@link #loadFromData(io.qt.core.QByteArray, java.lang.String)}
* with format = null
.
*/
@QtUninvokable
public final boolean loadFromData(io.qt.core.@NonNull QByteArray data) {
return loadFromData(data, (java.lang.String)null);
}
/**
* Overloaded function for {@link #loadFromData(io.qt.core.QByteArrayView, java.lang.String)}
* with format = null
.
*/
@QtUninvokable
public final boolean loadFromData(io.qt.core.@NonNull QByteArrayView data) {
return loadFromData(data, (java.lang.String)null);
}
/**
* Overloaded function for {@link #loadFromData(byte[], java.lang.String)}
* with format = null
.
*/
@QtUninvokable
public final boolean loadFromData(byte @NonNull[] data) {
return loadFromData(data, (java.lang.String)null);
}
/**
* Overloaded function for {@link #loadFromData(io.qt.core.QByteArrayView, java.lang.String)}.
*/
@QtUninvokable
public final boolean loadFromData(byte @NonNull[] data, java.lang.@Nullable String format) {
return loadFromData(new io.qt.core.QByteArrayView(data), format);
}
/**
* Overloaded function for {@link #loadFromData(java.nio.ByteBuffer, java.lang.String)}
* with format = null
.
*/
@QtUninvokable
public final boolean loadFromData(java.nio.@Nullable ByteBuffer buf) {
return loadFromData(buf, (java.lang.String)null);
}
/**
* Overloaded function for {@link #mirror(boolean, boolean)}
* with vertically = true
.
*/
@QtUninvokable
public final void mirror(boolean horizontally) {
mirror(horizontally, (boolean)true);
}
/**
* Overloaded function for {@link #mirror(boolean, boolean)}
* with:
* horizontally = false
* vertically = true
*
*/
@QtUninvokable
public final void mirror() {
mirror((boolean)false, (boolean)true);
}
/**
* Overloaded function for {@link #mirrored(boolean, boolean)}
* with vertically = true
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage mirrored(boolean horizontally) {
return mirrored(horizontally, (boolean)true);
}
/**
* Overloaded function for {@link #mirrored(boolean, boolean)}
* with:
* horizontally = false
* vertically = true
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage mirrored() {
return mirrored((boolean)false, (boolean)true);
}
/**
* Overloaded function for {@link #save(io.qt.core.QIODevice, java.lang.String, int)}
* with quality = -1
.
*/
@QtUninvokable
public final boolean save(io.qt.core.@Nullable QIODevice device, java.lang.@Nullable String format) {
return save(device, format, (int)-1);
}
/**
* Overloaded function for {@link #save(io.qt.core.QIODevice, java.lang.String, int)}
* with:
* format = null
* quality = -1
*
*/
@QtUninvokable
public final boolean save(io.qt.core.@Nullable QIODevice device) {
return save(device, (java.lang.String)null, (int)-1);
}
/**
* Overloaded function for {@link #save(java.lang.String, java.lang.String, int)}
* with quality = -1
.
*/
@QtUninvokable
public final boolean save(java.lang.@NonNull String fileName, java.lang.@Nullable String format) {
return save(fileName, format, (int)-1);
}
/**
* Overloaded function for {@link #save(java.lang.String, java.lang.String, int)}
* with:
* format = null
* quality = -1
*
*/
@QtUninvokable
public final boolean save(java.lang.@NonNull String fileName) {
return save(fileName, (java.lang.String)null, (int)-1);
}
/**
* Overloaded function for {@link #scaled(io.qt.core.QSize, io.qt.core.Qt.AspectRatioMode, io.qt.core.Qt.TransformationMode)}
* with mode = io.qt.core.Qt.TransformationMode.FastTransformation
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage scaled(io.qt.core.@NonNull QSize s, io.qt.core.Qt.@NonNull AspectRatioMode aspectMode) {
return scaled(s, aspectMode, io.qt.core.Qt.TransformationMode.FastTransformation);
}
/**
* Overloaded function for {@link #scaled(io.qt.core.QSize, io.qt.core.Qt.AspectRatioMode, io.qt.core.Qt.TransformationMode)}
* with:
* aspectMode = io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio
* mode = io.qt.core.Qt.TransformationMode.FastTransformation
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage scaled(io.qt.core.@NonNull QSize s) {
return scaled(s, io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio, io.qt.core.Qt.TransformationMode.FastTransformation);
}
/**
* Overloaded function for {@link #scaled(int, int, io.qt.core.Qt.AspectRatioMode, io.qt.core.Qt.TransformationMode)}
* with mode = io.qt.core.Qt.TransformationMode.FastTransformation
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage scaled(int w, int h, io.qt.core.Qt.@NonNull AspectRatioMode aspectMode) {
return scaled(w, h, aspectMode, io.qt.core.Qt.TransformationMode.FastTransformation);
}
/**
* Overloaded function for {@link #scaled(int, int, io.qt.core.Qt.AspectRatioMode, io.qt.core.Qt.TransformationMode)}
* with:
* aspectMode = io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio
* mode = io.qt.core.Qt.TransformationMode.FastTransformation
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage scaled(int w, int h) {
return scaled(w, h, io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio, io.qt.core.Qt.TransformationMode.FastTransformation);
}
/**
* Overloaded function for {@link #scaledToHeight(int, io.qt.core.Qt.TransformationMode)}
* with mode = io.qt.core.Qt.TransformationMode.FastTransformation
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage scaledToHeight(int h) {
return scaledToHeight(h, io.qt.core.Qt.TransformationMode.FastTransformation);
}
/**
* Overloaded function for {@link #scaledToWidth(int, io.qt.core.Qt.TransformationMode)}
* with mode = io.qt.core.Qt.TransformationMode.FastTransformation
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage scaledToWidth(int w) {
return scaledToWidth(w, io.qt.core.Qt.TransformationMode.FastTransformation);
}
/**
* Overloaded function for {@link #setColorSpace(io.qt.gui.QColorSpace)}.
*/
@QtUninvokable
public final void setColorSpace(io.qt.gui.QColorSpace.@NonNull NamedColorSpace arg__1) {
setColorSpace(new io.qt.gui.QColorSpace(arg__1));
}
/**
* Overloaded function for {@link #setPixelColor(io.qt.core.QPoint, io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setPixelColor(io.qt.core.@NonNull QPoint pt, io.qt.core.Qt.@NonNull GlobalColor c) {
setPixelColor(pt, new io.qt.gui.QColor(c));
}
/**
* Overloaded function for {@link #setPixelColor(io.qt.core.QPoint, io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setPixelColor(io.qt.core.@NonNull QPoint pt, io.qt.gui.@NonNull QRgba64 c) {
setPixelColor(pt, new io.qt.gui.QColor(c));
}
/**
* Overloaded function for {@link #setPixelColor(io.qt.core.QPoint, io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setPixelColor(io.qt.core.@NonNull QPoint pt, java.lang.@NonNull String c) {
setPixelColor(pt, new io.qt.gui.QColor(c));
}
/**
* Overloaded function for {@link #setPixelColor(int, int, io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setPixelColor(int x, int y, io.qt.core.Qt.@NonNull GlobalColor c) {
setPixelColor(x, y, new io.qt.gui.QColor(c));
}
/**
* Overloaded function for {@link #setPixelColor(int, int, io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setPixelColor(int x, int y, io.qt.gui.@NonNull QRgba64 c) {
setPixelColor(x, y, new io.qt.gui.QColor(c));
}
/**
* Overloaded function for {@link #setPixelColor(int, int, io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setPixelColor(int x, int y, java.lang.@NonNull String c) {
setPixelColor(x, y, new io.qt.gui.QColor(c));
}
/**
* Overloaded function for {@link #text(java.lang.String)}
* with key = (String)null
.
*/
@QtUninvokable
public final java.lang.@NonNull String text() {
return text((String)null);
}
/**
* Overloaded function for {@link #transformed(io.qt.gui.QTransform, io.qt.core.Qt.TransformationMode)}
* with mode = io.qt.core.Qt.TransformationMode.FastTransformation
.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QImage transformed(io.qt.gui.@NonNull QTransform matrix) {
return transformed(matrix, io.qt.core.Qt.TransformationMode.FastTransformation);
}
/**
* Overloaded function for {@link #fromData(io.qt.core.QByteArray, java.lang.String)}
* with format = null
.
*/
public static io.qt.gui.@NonNull QImage fromData(io.qt.core.@NonNull QByteArray data) {
return fromData(data, (java.lang.String)null);
}
/**
* Overloaded function for {@link #fromData(io.qt.core.QByteArrayView, java.lang.String)}
* with format = null
.
*/
public static io.qt.gui.@NonNull QImage fromData(io.qt.core.@NonNull QByteArrayView data) {
return fromData(data, (java.lang.String)null);
}
/**
* Overloaded function for {@link #fromData(byte[], java.lang.String)}
* with format = null
.
*/
public static io.qt.gui.@NonNull QImage fromData(byte @NonNull[] data) {
return fromData(data, (java.lang.String)null);
}
/**
* Overloaded function for {@link #fromData(io.qt.core.QByteArrayView, java.lang.String)}.
*/
public static io.qt.gui.@NonNull QImage fromData(byte @NonNull[] data, java.lang.@Nullable String format) {
return fromData(new io.qt.core.QByteArrayView(data), format);
}
/**
* Overloaded function for {@link #fromData(java.nio.ByteBuffer, java.lang.String)}
* with format = null
.
*/
public static io.qt.gui.@NonNull QImage fromData(java.nio.@Nullable ByteBuffer data) {
return fromData(data, (java.lang.String)null);
}
}