All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QImage Maven / Gradle / Ivy

The newest version!
package io.qt.gui;


/**
 * 

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 io.qt.QtObject implements io.qt.gui.QPaintDevice, java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } private static long __qt_expenseCounter = 0; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QImage.class); /** *

Java wrapper for Qt enum QImage::Format

*/ public enum Format implements io.qt.QtEnumerator { Format_Invalid(0), Format_Mono(1), Format_MonoLSB(2), Format_Indexed8(3), Format_RGB32(4), Format_ARGB32(5), Format_ARGB32_Premultiplied(6), Format_RGB16(7), Format_ARGB8565_Premultiplied(8), Format_RGB666(9), Format_ARGB6666_Premultiplied(10), Format_RGB555(11), Format_ARGB8555_Premultiplied(12), Format_RGB888(13), Format_RGB444(14), Format_ARGB4444_Premultiplied(15), Format_RGBX8888(16), Format_RGBA8888(17), Format_RGBA8888_Premultiplied(18), Format_BGR30(19), Format_A2BGR30_Premultiplied(20), Format_RGB30(21), Format_A2RGB30_Premultiplied(22), Format_Alpha8(23), Format_Grayscale8(24), Format_RGBX64(25), Format_RGBA64(26), Format_RGBA64_Premultiplied(27), Format_Grayscale16(28), Format_BGR888(29), Format_RGBX16FPx4(30), Format_RGBA16FPx4(31), Format_RGBA16FPx4_Premultiplied(32), Format_RGBX32FPx4(33), Format_RGBA32FPx4(34), Format_RGBA32FPx4_Premultiplied(35), NImageFormats(36); 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 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 io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QImage::InvertMode

*/ public enum InvertMode implements io.qt.QtEnumerator { InvertRgb(0), InvertRgba(1); 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 InvertMode resolve(int value) { switch (value) { case 0: return InvertRgb; case 1: return InvertRgba; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

See QImage::QImage()

*/ public QImage(){ super((QPrivateConstructor)null); initialize_native(this); boolean _dogc; synchronized(io.qt.gui.QImage.class){ if(_dogc = (__qt_expenseCounter += 1) > 67108864) __qt_expenseCounter = 0; } if (_dogc) System.gc(); } private native static void initialize_native(QImage instance); /** *

See QImage::QImage(QImage)

*/ public QImage(io.qt.gui.QImage arg__1){ super((QPrivateConstructor)null); initialize_native(this, arg__1); boolean _dogc; synchronized(io.qt.gui.QImage.class){ if(_dogc = (__qt_expenseCounter += 1) > 67108864) __qt_expenseCounter = 0; } if (_dogc) System.gc(); } 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.QSize size, io.qt.gui.QImage.Format format){ super((QPrivateConstructor)null); initialize_native(this, size, format); boolean _dogc; synchronized(io.qt.gui.QImage.class){ if(_dogc = (__qt_expenseCounter += 1) > 67108864) __qt_expenseCounter = 0; } if (_dogc) System.gc(); } private native static void initialize_native(QImage instance, io.qt.core.QSize size, io.qt.gui.QImage.Format format); /** *

Overloaded constructor for {@link #QImage(java.lang.String, java.lang.String)} * with format = null.

*/ public QImage(java.lang.String fileName) { this(fileName, (java.lang.String)null); } public QImage(java.lang.String fileName, java.lang.String format){ super((QPrivateConstructor)null); initialize_native(this, fileName, format); boolean _dogc; synchronized(io.qt.gui.QImage.class){ if(_dogc = (__qt_expenseCounter += 1) > 67108864) __qt_expenseCounter = 0; } if (_dogc) System.gc(); } private native static void initialize_native(QImage instance, java.lang.String fileName, java.lang.String format); /** *

See QImage::QImage(const const char*)

*/ public QImage(java.lang.String[] xpm){ super((QPrivateConstructor)null); initialize_native(this, xpm); boolean _dogc; synchronized(io.qt.gui.QImage.class){ if(_dogc = (__qt_expenseCounter += 1) > 67108864) __qt_expenseCounter = 0; } if (_dogc) System.gc(); } 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.Format format){ super((QPrivateConstructor)null); initialize_native(this, width, height, format); boolean _dogc; synchronized(io.qt.gui.QImage.class){ if(_dogc = (__qt_expenseCounter += 1) > 67108864) __qt_expenseCounter = 0; } if (_dogc) System.gc(); } private native static void initialize_native(QImage instance, int width, int height, io.qt.gui.QImage.Format format); /** *

See QImage::allGray()const

*/ @io.qt.QtUninvokable public final boolean allGray(){ return allGray_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean allGray_native_constfct(long __this__nativeId); /** *

See QImage::applyColorTransform(QColorTransform)

*/ @io.qt.QtUninvokable public final void applyColorTransform(io.qt.gui.QColorTransform transform){ applyColorTransform_native_cref_QColorTransform(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(transform)); } @io.qt.QtUninvokable private native void applyColorTransform_native_cref_QColorTransform(long __this__nativeId, long transform); /** *

See QImage::bitPlaneCount()const

*/ @io.qt.QtUninvokable public final int bitPlaneCount(){ return bitPlaneCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int bitPlaneCount_native_constfct(long __this__nativeId); /** *

See QImage::bits()const

*/ @io.qt.QtUninvokable public final java.nio.ByteBuffer bits(){ return bits_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.nio.ByteBuffer bits_native_constfct(long __this__nativeId); /** *

See QImage::bytesPerLine()const

*/ @io.qt.QtUninvokable public final long bytesPerLine(){ return bytesPerLine_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native long bytesPerLine_native_constfct(long __this__nativeId); /** *

See QImage::cacheKey()const

*/ @io.qt.QtUninvokable public final long cacheKey(){ return cacheKey_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native long cacheKey_native_constfct(long __this__nativeId); /** *

See QImage::color(int)const

*/ @io.qt.QtUninvokable public final int color(int i){ return color_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i); } @io.qt.QtUninvokable private native int color_native_int_constfct(long __this__nativeId, int i); /** *

See QPaintDevice::colorCount()const

*/ @io.qt.QtUninvokable public final int colorCount(){ return colorCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int colorCount_native_constfct(long __this__nativeId); /** *

See QImage::colorSpace()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QColorSpace colorSpace(){ return colorSpace_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QColorSpace colorSpace_native_constfct(long __this__nativeId); /** *

See QImage::colorTable()const

*/ @io.qt.QtUninvokable public final io.qt.core.QList colorTable(){ return colorTable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QList colorTable_native_constfct(long __this__nativeId); /** *

See QImage::constBits()const

*/ @io.qt.QtUninvokable public final byte[] bytes(){ return bytes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native byte[] bytes_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #convertTo(io.qt.gui.QImage.Format, io.qt.core.Qt.ImageConversionFlags)}.

*/ @io.qt.QtUninvokable public final void convertTo(io.qt.gui.QImage.Format f, io.qt.core.Qt.ImageConversionFlag ... flags){ convertTo(f, new io.qt.core.Qt.ImageConversionFlags(flags)); } /** *

Overloaded function for {@link #convertTo(io.qt.gui.QImage.Format, io.qt.core.Qt.ImageConversionFlags)} * with flags = new io.qt.core.Qt.ImageConversionFlags(0).

*/ @io.qt.QtUninvokable public final void convertTo(io.qt.gui.QImage.Format f) { convertTo(f, new io.qt.core.Qt.ImageConversionFlags(0)); } /** *

See QImage::convertTo(QImage::Format,Qt::ImageConversionFlags)

*/ @io.qt.QtUninvokable public final void convertTo(io.qt.gui.QImage.Format f, io.qt.core.Qt.ImageConversionFlags flags){ convertTo_native_QImage_Format_QFlags_Qt_ImageConversionFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), f.value(), flags.value()); } @io.qt.QtUninvokable private native void convertTo_native_QImage_Format_QFlags_Qt_ImageConversionFlag_(long __this__nativeId, int f, int flags); /** *

See QImage::convertToColorSpace(QColorSpace)

*/ @io.qt.QtUninvokable public final void convertToColorSpace(io.qt.gui.QColorSpace arg__1){ convertToColorSpace_native_cref_QColorSpace(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native void convertToColorSpace_native_cref_QColorSpace(long __this__nativeId, long arg__1); /** *

Overloaded function for {@link #convertToFormat(io.qt.gui.QImage.Format, io.qt.core.Qt.ImageConversionFlags)}.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage convertToFormat(io.qt.gui.QImage.Format f, io.qt.core.Qt.ImageConversionFlag ... flags){ return convertToFormat(f, 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).

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage convertToFormat(io.qt.gui.QImage.Format f) { return convertToFormat(f, new io.qt.core.Qt.ImageConversionFlags(0)); } /** *

See QImage::convertToFormat(QImage::Format,Qt::ImageConversionFlags)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage convertToFormat(io.qt.gui.QImage.Format f, io.qt.core.Qt.ImageConversionFlags flags){ return convertToFormat_native_QImage_Format_QFlags_Qt_ImageConversionFlag__constfct(QtJambi_LibraryUtilities.internal.nativeId(this), f.value(), flags.value()); } @io.qt.QtUninvokable private native io.qt.gui.QImage convertToFormat_native_QImage_Format_QFlags_Qt_ImageConversionFlag__constfct(long __this__nativeId, int f, int flags); /** *

Overloaded function for {@link #convertToFormat(io.qt.gui.QImage.Format, java.util.Collection, io.qt.core.Qt.ImageConversionFlags)}.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage convertToFormat(io.qt.gui.QImage.Format f, java.util.Collection colorTable, io.qt.core.Qt.ImageConversionFlag ... flags){ return convertToFormat(f, colorTable, new io.qt.core.Qt.ImageConversionFlags(flags)); } /** *

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).

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage convertToFormat(io.qt.gui.QImage.Format f, java.util.Collection colorTable) { return convertToFormat(f, colorTable, new io.qt.core.Qt.ImageConversionFlags(0)); } /** *

See QImage::convertToFormat(QImage::Format,QList<QRgb>,Qt::ImageConversionFlags)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage convertToFormat(io.qt.gui.QImage.Format f, java.util.Collection colorTable, io.qt.core.Qt.ImageConversionFlags flags){ return convertToFormat_native_QImage_Format_cref_QList_QFlags_Qt_ImageConversionFlag__constfct(QtJambi_LibraryUtilities.internal.nativeId(this), f.value(), colorTable, flags.value()); } @io.qt.QtUninvokable private native io.qt.gui.QImage convertToFormat_native_QImage_Format_cref_QList_QFlags_Qt_ImageConversionFlag__constfct(long __this__nativeId, int f, java.util.Collection colorTable, int flags); /** *

Overloaded function for {@link #convertedTo(io.qt.gui.QImage.Format, io.qt.core.Qt.ImageConversionFlags)}.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage convertedTo(io.qt.gui.QImage.Format f, io.qt.core.Qt.ImageConversionFlag ... flags){ return convertedTo(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).

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage convertedTo(io.qt.gui.QImage.Format f) { return convertedTo(f, new io.qt.core.Qt.ImageConversionFlags(0)); } /** *

See QImage::convertedTo(QImage::Format,Qt::ImageConversionFlags)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage convertedTo(io.qt.gui.QImage.Format f, io.qt.core.Qt.ImageConversionFlags flags){ return convertedTo_native_QImage_Format_QFlags_Qt_ImageConversionFlag__constfct(QtJambi_LibraryUtilities.internal.nativeId(this), f.value(), flags.value()); } @io.qt.QtUninvokable private native io.qt.gui.QImage convertedTo_native_QImage_Format_QFlags_Qt_ImageConversionFlag__constfct(long __this__nativeId, int f, int flags); /** *

See QImage::convertedToColorSpace(QColorSpace)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage convertedToColorSpace(io.qt.gui.QColorSpace arg__1){ return convertedToColorSpace_native_cref_QColorSpace_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native io.qt.gui.QImage convertedToColorSpace_native_cref_QColorSpace_constfct(long __this__nativeId, long arg__1); /** *

Overloaded function for {@link #copy(io.qt.core.QRect)} * with rect = new io.qt.core.QRect().

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage copy() { return copy(new io.qt.core.QRect()); } /** *

See QImage::copy(QRect)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage copy(io.qt.core.QRect rect){ return copy_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @io.qt.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

*/ @io.qt.QtUninvokable public final io.qt.gui.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); } @io.qt.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); /** *

Overloaded function for {@link #createAlphaMask(io.qt.core.Qt.ImageConversionFlags)}.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage createAlphaMask(io.qt.core.Qt.ImageConversionFlag ... flags){ return createAlphaMask(new io.qt.core.Qt.ImageConversionFlags(flags)); } /** *

Overloaded function for {@link #createAlphaMask(io.qt.core.Qt.ImageConversionFlags)} * with flags = new io.qt.core.Qt.ImageConversionFlags(0).

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage createAlphaMask() { return createAlphaMask(new io.qt.core.Qt.ImageConversionFlags(0)); } /** *

See QImage::createAlphaMask(Qt::ImageConversionFlags)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage createAlphaMask(io.qt.core.Qt.ImageConversionFlags flags){ return createAlphaMask_native_QFlags_Qt_ImageConversionFlag__constfct(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value()); } @io.qt.QtUninvokable private native io.qt.gui.QImage createAlphaMask_native_QFlags_Qt_ImageConversionFlag__constfct(long __this__nativeId, int flags); /** *

Overloaded function for {@link #createHeuristicMask(boolean)} * with clipTight = true.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage createHeuristicMask() { return createHeuristicMask((boolean)true); } /** *

See QImage::createHeuristicMask(bool)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage createHeuristicMask(boolean clipTight){ return createHeuristicMask_native_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), clipTight); } @io.qt.QtUninvokable private native io.qt.gui.QImage createHeuristicMask_native_bool_constfct(long __this__nativeId, boolean clipTight); /** *

Overloaded function for {@link #createMaskFromColor(int, io.qt.core.Qt.MaskMode)} * with mode = io.qt.core.Qt.MaskMode.MaskInColor.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage createMaskFromColor(int color) { return createMaskFromColor(color, io.qt.core.Qt.MaskMode.MaskInColor); } /** *

See QImage::createMaskFromColor(QRgb,Qt::MaskMode)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage createMaskFromColor(int color, io.qt.core.Qt.MaskMode mode){ return createMaskFromColor_native_unsigned_int_Qt_MaskMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), color, mode.value()); } @io.qt.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

*/ @io.qt.QtUninvokable public final int depth(){ return depth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int depth_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final void detach(){ detach_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void detach_native(long __this__nativeId); /** *

See QImage::deviceIndependentSize()const

*/ @io.qt.QtUninvokable public final io.qt.core.QSizeF deviceIndependentSize(){ return deviceIndependentSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QSizeF deviceIndependentSize_native_constfct(long __this__nativeId); /** *

See QPaintDevice::devicePixelRatio()const

*/ @io.qt.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

*/ @io.qt.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

*/ @io.qt.QtUninvokable public final int dotsPerMeterX(){ return dotsPerMeterX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int dotsPerMeterX_native_constfct(long __this__nativeId); /** *

See QImage::dotsPerMeterY()const

*/ @io.qt.QtUninvokable public final int dotsPerMeterY(){ return dotsPerMeterY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int dotsPerMeterY_native_constfct(long __this__nativeId); /** *

See QImage::fill(Qt::GlobalColor)

*/ @io.qt.QtUninvokable public final void fill(io.qt.core.Qt.GlobalColor color){ fill_native_Qt_GlobalColor(QtJambi_LibraryUtilities.internal.nativeId(this), color.value()); } @io.qt.QtUninvokable private native void fill_native_Qt_GlobalColor(long __this__nativeId, int color); /** *

See QImage::fill(QColor)

*/ @io.qt.QtUninvokable public final void fill(io.qt.gui.QColor color){ fill_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(color)); } @io.qt.QtUninvokable private native void fill_native_cref_QColor(long __this__nativeId, long color); /** *

See QImage::fill(uint)

*/ @io.qt.QtUninvokable public final void fill(int pixel){ fill_native_uint(QtJambi_LibraryUtilities.internal.nativeId(this), pixel); } @io.qt.QtUninvokable private native void fill_native_uint(long __this__nativeId, int pixel); /** *

See QImage::format()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage.Format format(){ return io.qt.gui.QImage.Format.resolve(format_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int format_native_constfct(long __this__nativeId); /** *

See QImage::hasAlphaChannel()const

*/ @io.qt.QtUninvokable public final boolean hasAlphaChannel(){ return hasAlphaChannel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean hasAlphaChannel_native_constfct(long __this__nativeId); /** *

See QPaintDevice::height()const

*/ @io.qt.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

*/ @io.qt.QtUninvokable public final int heightMM(){ return heightMM_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int heightMM_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #invertPixels(io.qt.gui.QImage.InvertMode)} * with arg__1 = io.qt.gui.QImage.InvertMode.InvertRgb.

*/ @io.qt.QtUninvokable public final void invertPixels() { invertPixels(io.qt.gui.QImage.InvertMode.InvertRgb); } /** *

See QImage::invertPixels(QImage::InvertMode)

*/ @io.qt.QtUninvokable public final void invertPixels(io.qt.gui.QImage.InvertMode arg__1){ invertPixels_native_QImage_InvertMode(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @io.qt.QtUninvokable private native void invertPixels_native_QImage_InvertMode(long __this__nativeId, int arg__1); @io.qt.QtUninvokable public final boolean isDetached(){ return isDetached_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isDetached_native_constfct(long __this__nativeId); /** *

See QImage::isGrayscale()const

*/ @io.qt.QtUninvokable public final boolean isGrayscale(){ return isGrayscale_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isGrayscale_native_constfct(long __this__nativeId); /** *

See QImage::isNull()const

*/ @io.qt.QtUninvokable public final boolean isNull(){ return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isNull_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final boolean load(io.qt.core.QIODevice device, java.lang.String format){ return load_native_QIODevice_ptr_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(device), format); } @io.qt.QtUninvokable private native boolean load_native_QIODevice_ptr_const_char_ptr(long __this__nativeId, long device, java.lang.String format); /** *

Overloaded function for {@link #load(java.lang.String, java.lang.String)} * with format = null.

*/ @io.qt.QtUninvokable public final boolean load(java.lang.String fileName) { return load(fileName, (java.lang.String)null); } @io.qt.QtUninvokable public final boolean load(java.lang.String fileName, java.lang.String format){ return load_native_cref_QString_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), fileName, format); } @io.qt.QtUninvokable private native boolean load_native_cref_QString_const_char_ptr(long __this__nativeId, java.lang.String fileName, java.lang.String format); /** *

Overloaded function for {@link #loadFromData(io.qt.core.QByteArrayView, java.lang.String)} * with format = null.

*/ @io.qt.QtUninvokable public final boolean loadFromData(io.qt.core.QByteArrayView data) { return loadFromData(data, (java.lang.String)null); } @io.qt.QtUninvokable public final boolean loadFromData(io.qt.core.QByteArrayView data, java.lang.String format){ return loadFromData_native_QByteArrayView_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(data), format); } @io.qt.QtUninvokable private native boolean loadFromData_native_QByteArrayView_const_char_ptr(long __this__nativeId, long data, java.lang.String format); /** *

Overloaded function for {@link #loadFromData(io.qt.core.QByteArray, java.lang.String)} * with format = null.

*/ @io.qt.QtUninvokable public final boolean loadFromData(io.qt.core.QByteArray data) { return loadFromData(data, (java.lang.String)null); } @io.qt.QtUninvokable public final boolean loadFromData(io.qt.core.QByteArray data, java.lang.String format){ return loadFromData_native_cref_QByteArray_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(data), format); } @io.qt.QtUninvokable private native boolean loadFromData_native_cref_QByteArray_const_char_ptr(long __this__nativeId, long data, java.lang.String format); /** *

Overloaded function for {@link #loadFromData(byte[], java.lang.String)} * with format = null.

*/ @io.qt.QtUninvokable public final boolean loadFromData(byte[] buf) { return loadFromData(buf, (java.lang.String)null); } @io.qt.QtUninvokable public final boolean loadFromData(byte[] buf, java.lang.String format){ return loadFromData_native_const_unsigned_char_ptr_int_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), buf, format); } @io.qt.QtUninvokable private native boolean loadFromData_native_const_unsigned_char_ptr_int_const_char_ptr(long __this__nativeId, byte[] buf, java.lang.String format); /** *

See QPaintDevice::logicalDpiX()const

*/ @io.qt.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

*/ @io.qt.QtUninvokable public final int logicalDpiY(){ return logicalDpiY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int logicalDpiY_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #mirror(boolean, boolean)} * with vertically = true.

*/ @io.qt.QtUninvokable public final void mirror(boolean horizontally) { mirror(horizontally, (boolean)true); } /** *

Overloaded function for {@link #mirror(boolean, boolean)}

*

with:

    *
  • horizontally = false
  • *
  • vertically = true
  • *
*/ @io.qt.QtUninvokable public final void mirror() { mirror((boolean)false, (boolean)true); } /** *

See QImage::mirror(bool,bool)

*/ @io.qt.QtUninvokable public final void mirror(boolean horizontally, boolean vertically){ mirror_native_bool_bool(QtJambi_LibraryUtilities.internal.nativeId(this), horizontally, vertically); } @io.qt.QtUninvokable private native void mirror_native_bool_bool(long __this__nativeId, boolean horizontally, boolean vertically); /** *

Overloaded function for {@link #mirrored(boolean, boolean)} * with vertically = true.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage mirrored(boolean horizontally) { return mirrored(horizontally, (boolean)true); } /** *

Overloaded function for {@link #mirrored(boolean, boolean)}

*

with:

    *
  • horizontally = false
  • *
  • vertically = true
  • *
*/ @io.qt.QtUninvokable public final io.qt.gui.QImage mirrored() { return mirrored((boolean)false, (boolean)true); } /** *

See QImage::mirrored(bool,bool)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage mirrored(boolean horizontally, boolean vertically){ return mirrored_native_bool_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), horizontally, vertically); } @io.qt.QtUninvokable private native io.qt.gui.QImage mirrored_native_bool_bool_constfct(long __this__nativeId, boolean horizontally, boolean vertically); /** *

See QImage::offset()const

*/ @io.qt.QtUninvokable public final io.qt.core.QPoint offset(){ return offset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPoint offset_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public void writeTo(io.qt.core.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)); } @io.qt.QtUninvokable private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QImage::operator==(QImage)const

*/ @io.qt.QtUninvokable private final boolean operator_equal(io.qt.gui.QImage arg__1){ return operator_equal_native_cref_QImage_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native boolean operator_equal_native_cref_QImage_constfct(long __this__nativeId, long arg__1); @io.qt.QtUninvokable public void readFrom(io.qt.core.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)); } @io.qt.QtUninvokable private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QPaintDevice::paintingActive()const

*/ @io.qt.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

*/ @io.qt.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

*/ @io.qt.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

*/ @io.qt.QtUninvokable public final int pixel(io.qt.core.QPoint pt){ return pixel_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt)); } @io.qt.QtUninvokable private native int pixel_native_cref_QPoint_constfct(long __this__nativeId, long pt); /** *

See QImage::pixel(int,int)const

*/ @io.qt.QtUninvokable public final int pixel(int x, int y){ return pixel_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @io.qt.QtUninvokable private native int pixel_native_int_int_constfct(long __this__nativeId, int x, int y); /** *

See QImage::pixelColor(QPoint)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QColor pixelColor(io.qt.core.QPoint pt){ return pixelColor_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt)); } @io.qt.QtUninvokable private native io.qt.gui.QColor pixelColor_native_cref_QPoint_constfct(long __this__nativeId, long pt); /** *

See QImage::pixelColor(int,int)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QColor pixelColor(int x, int y){ return pixelColor_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @io.qt.QtUninvokable private native io.qt.gui.QColor pixelColor_native_int_int_constfct(long __this__nativeId, int x, int y); /** *

See QImage::pixelFormat()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QPixelFormat pixelFormat(){ return pixelFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QPixelFormat pixelFormat_native_constfct(long __this__nativeId); /** *

See QImage::pixelIndex(QPoint)const

*/ @io.qt.QtUninvokable public final int pixelIndex(io.qt.core.QPoint pt){ return pixelIndex_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt)); } @io.qt.QtUninvokable private native int pixelIndex_native_cref_QPoint_constfct(long __this__nativeId, long pt); /** *

See QImage::pixelIndex(int,int)const

*/ @io.qt.QtUninvokable public final int pixelIndex(int x, int y){ return pixelIndex_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @io.qt.QtUninvokable private native int pixelIndex_native_int_int_constfct(long __this__nativeId, int x, int y); /** *

See QImage::rect()const

*/ @io.qt.QtUninvokable public final io.qt.core.QRect rect(){ return rect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRect rect_native_constfct(long __this__nativeId); /** *

See QImage::reinterpretAsFormat(QImage::Format)

*/ @io.qt.QtUninvokable public final boolean reinterpretAsFormat(io.qt.gui.QImage.Format f){ return reinterpretAsFormat_native_QImage_Format(QtJambi_LibraryUtilities.internal.nativeId(this), f.value()); } @io.qt.QtUninvokable private native boolean reinterpretAsFormat_native_QImage_Format(long __this__nativeId, int f); /** *

See QImage::rgbSwap()

*/ @io.qt.QtUninvokable public final void rgbSwap(){ rgbSwap_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void rgbSwap_native(long __this__nativeId); /** *

See QImage::rgbSwapped()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage rgbSwapped(){ return rgbSwapped_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QImage rgbSwapped_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #save(io.qt.core.QIODevice, java.lang.String, int)} * with quality = -1.

*/ @io.qt.QtUninvokable public final boolean save(io.qt.core.QIODevice device, java.lang.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
  • *
*/ @io.qt.QtUninvokable public final boolean save(io.qt.core.QIODevice device) { return save(device, (java.lang.String)null, (int)-1); } @io.qt.QtUninvokable public final boolean save(io.qt.core.QIODevice device, java.lang.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); } @io.qt.QtUninvokable private native boolean save_native_QIODevice_ptr_const_char_ptr_int_constfct(long __this__nativeId, long device, java.lang.String format, int quality); /** *

Overloaded function for {@link #save(java.lang.String, java.lang.String, int)} * with quality = -1.

*/ @io.qt.QtUninvokable public final boolean save(java.lang.String fileName, java.lang.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
  • *
*/ @io.qt.QtUninvokable public final boolean save(java.lang.String fileName) { return save(fileName, (java.lang.String)null, (int)-1); } @io.qt.QtUninvokable public final boolean save(java.lang.String fileName, java.lang.String format, int quality){ return save_native_cref_QString_const_char_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), fileName, format, quality); } @io.qt.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); /** *

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.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage scaled(io.qt.core.QSize s, io.qt.core.Qt.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
  • *
*/ @io.qt.QtUninvokable public final io.qt.gui.QImage scaled(io.qt.core.QSize s) { return scaled(s, io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio, io.qt.core.Qt.TransformationMode.FastTransformation); } /** *

See QImage::scaled(QSize,Qt::AspectRatioMode,Qt::TransformationMode)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage scaled(io.qt.core.QSize s, io.qt.core.Qt.AspectRatioMode aspectMode, io.qt.core.Qt.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()); } @io.qt.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); /** *

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.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage scaled(int w, int h, io.qt.core.Qt.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
  • *
*/ @io.qt.QtUninvokable public final io.qt.gui.QImage scaled(int w, int h) { return scaled(w, h, io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio, io.qt.core.Qt.TransformationMode.FastTransformation); } /** *

See QImage::scaled(int,int,Qt::AspectRatioMode,Qt::TransformationMode)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage scaled(int w, int h, io.qt.core.Qt.AspectRatioMode aspectMode, io.qt.core.Qt.TransformationMode mode){ return scaled_native_int_int_Qt_AspectRatioMode_Qt_TransformationMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), w, h, aspectMode.value(), mode.value()); } @io.qt.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); /** *

Overloaded function for {@link #scaledToHeight(int, io.qt.core.Qt.TransformationMode)} * with mode = io.qt.core.Qt.TransformationMode.FastTransformation.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage scaledToHeight(int h) { return scaledToHeight(h, io.qt.core.Qt.TransformationMode.FastTransformation); } /** *

See QImage::scaledToHeight(int,Qt::TransformationMode)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage scaledToHeight(int h, io.qt.core.Qt.TransformationMode mode){ return scaledToHeight_native_int_Qt_TransformationMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), h, mode.value()); } @io.qt.QtUninvokable private native io.qt.gui.QImage scaledToHeight_native_int_Qt_TransformationMode_constfct(long __this__nativeId, int h, int mode); /** *

Overloaded function for {@link #scaledToWidth(int, io.qt.core.Qt.TransformationMode)} * with mode = io.qt.core.Qt.TransformationMode.FastTransformation.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage scaledToWidth(int w) { return scaledToWidth(w, io.qt.core.Qt.TransformationMode.FastTransformation); } /** *

See QImage::scaledToWidth(int,Qt::TransformationMode)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage scaledToWidth(int w, io.qt.core.Qt.TransformationMode mode){ return scaledToWidth_native_int_Qt_TransformationMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), w, mode.value()); } @io.qt.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

*/ @io.qt.QtUninvokable public final java.nio.ByteBuffer scanLine(int arg__1){ return scanLine_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @io.qt.QtUninvokable private native java.nio.ByteBuffer scanLine_native_int_constfct(long __this__nativeId, int arg__1); /** *

See QImage::setAlphaChannel(QImage)

*/ @io.qt.QtUninvokable public final void setAlphaChannel(io.qt.gui.QImage alphaChannel){ setAlphaChannel_native_cref_QImage(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(alphaChannel)); } @io.qt.QtUninvokable private native void setAlphaChannel_native_cref_QImage(long __this__nativeId, long alphaChannel); /** *

See QImage::setColor(int,QRgb)

*/ @io.qt.QtUninvokable public final void setColor(int i, int c){ setColor_native_int_unsigned_int(QtJambi_LibraryUtilities.internal.nativeId(this), i, c); } @io.qt.QtUninvokable private native void setColor_native_int_unsigned_int(long __this__nativeId, int i, int c); /** *

See QImage::setColorCount(int)

*/ @io.qt.QtUninvokable public final void setColorCount(int arg__1){ setColorCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @io.qt.QtUninvokable private native void setColorCount_native_int(long __this__nativeId, int arg__1); /** *

See QImage::setColorSpace(QColorSpace)

*/ @io.qt.QtUninvokable public final void setColorSpace(io.qt.gui.QColorSpace arg__1){ setColorSpace_native_cref_QColorSpace(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native void setColorSpace_native_cref_QColorSpace(long __this__nativeId, long arg__1); /** *

See QImage::setColorTable(QList<QRgb>)

*/ @io.qt.QtUninvokable public final void setColorTable(java.util.Collection colors){ setColorTable_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), colors); } @io.qt.QtUninvokable private native void setColorTable_native_cref_QList(long __this__nativeId, java.util.Collection colors); /** *

See QImage::setDevicePixelRatio(qreal)

*/ @io.qt.QtUninvokable public final void setDevicePixelRatio(double scaleFactor){ setDevicePixelRatio_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), scaleFactor); } @io.qt.QtUninvokable private native void setDevicePixelRatio_native_qtjambireal(long __this__nativeId, double scaleFactor); /** *

See QImage::setDotsPerMeterX(int)

*/ @io.qt.QtUninvokable public final void setDotsPerMeterX(int arg__1){ setDotsPerMeterX_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @io.qt.QtUninvokable private native void setDotsPerMeterX_native_int(long __this__nativeId, int arg__1); /** *

See QImage::setDotsPerMeterY(int)

*/ @io.qt.QtUninvokable public final void setDotsPerMeterY(int arg__1){ setDotsPerMeterY_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @io.qt.QtUninvokable private native void setDotsPerMeterY_native_int(long __this__nativeId, int arg__1); /** *

See QImage::setOffset(QPoint)

*/ @io.qt.QtUninvokable public final void setOffset(io.qt.core.QPoint arg__1){ setOffset_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native void setOffset_native_cref_QPoint(long __this__nativeId, long arg__1); /** *

See QImage::setPixel(QPoint,uint)

*/ @io.qt.QtUninvokable public final void setPixel(io.qt.core.QPoint pt, int index_or_rgb){ setPixel_native_cref_QPoint_uint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt), index_or_rgb); } @io.qt.QtUninvokable private native void setPixel_native_cref_QPoint_uint(long __this__nativeId, long pt, int index_or_rgb); /** *

See QImage::setPixel(int,int,uint)

*/ @io.qt.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); } @io.qt.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)

*/ @io.qt.QtUninvokable public final void setPixelColor(io.qt.core.QPoint pt, io.qt.gui.QColor c){ setPixelColor_native_cref_QPoint_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt), QtJambi_LibraryUtilities.internal.checkedNativeId(c)); } @io.qt.QtUninvokable private native void setPixelColor_native_cref_QPoint_cref_QColor(long __this__nativeId, long pt, long c); /** *

See QImage::setPixelColor(int,int,QColor)

*/ @io.qt.QtUninvokable public final void setPixelColor(int x, int y, io.qt.gui.QColor c){ setPixelColor_native_int_int_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, QtJambi_LibraryUtilities.internal.checkedNativeId(c)); } @io.qt.QtUninvokable private native void setPixelColor_native_int_int_cref_QColor(long __this__nativeId, int x, int y, long c); /** *

See QImage::setText(QString,QString)

*/ @io.qt.QtUninvokable public final void setText(java.lang.String key, java.lang.String value){ setText_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), key, value); } @io.qt.QtUninvokable private native void setText_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String key, java.lang.String value); /** *

See QImage::size()const

*/ @io.qt.QtUninvokable public final io.qt.core.QSize size(){ return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QSize size_native_constfct(long __this__nativeId); /** *

See QImage::sizeInBytes()const

*/ @io.qt.QtUninvokable public final long sizeInBytes(){ return sizeInBytes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native long sizeInBytes_native_constfct(long __this__nativeId); @io.qt.QtUninvokable protected final io.qt.gui.QImage smoothScaled(int w, int h){ return smoothScaled_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), w, h); } @io.qt.QtUninvokable private native io.qt.gui.QImage smoothScaled_native_int_int_constfct(long __this__nativeId, int w, int h); /** *

See QImage::swap(QImage&)

*/ @io.qt.QtUninvokable public final void swap(io.qt.gui.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)); } @io.qt.QtUninvokable private native void swap_native_ref_QImage(long __this__nativeId, long other); /** *

Overloaded function for {@link #text(java.lang.String)} * with key = "".

*/ @io.qt.QtUninvokable public final java.lang.String text() { return text(""); } /** *

See QImage::text(QString)const

*/ @io.qt.QtUninvokable public final java.lang.String text(java.lang.String key){ return text_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), key); } @io.qt.QtUninvokable private native java.lang.String text_native_cref_QString_constfct(long __this__nativeId, java.lang.String key); /** *

See QImage::textKeys()const

*/ @io.qt.QtUninvokable public final io.qt.core.QStringList textKeys(){ return textKeys_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QStringList textKeys_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #transformed(io.qt.gui.QTransform, io.qt.core.Qt.TransformationMode)} * with mode = io.qt.core.Qt.TransformationMode.FastTransformation.

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage transformed(io.qt.gui.QTransform matrix) { return transformed(matrix, io.qt.core.Qt.TransformationMode.FastTransformation); } /** *

See QImage::transformed(QTransform,Qt::TransformationMode)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QImage transformed(io.qt.gui.QTransform matrix, io.qt.core.Qt.TransformationMode mode){ return transformed_native_cref_QTransform_Qt_TransformationMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(matrix), mode.value()); } @io.qt.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

*/ @io.qt.QtUninvokable public final boolean valid(io.qt.core.QPoint pt){ return valid_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt)); } @io.qt.QtUninvokable private native boolean valid_native_cref_QPoint_constfct(long __this__nativeId, long pt); /** *

See QImage::valid(int,int)const

*/ @io.qt.QtUninvokable public final boolean valid(int x, int y){ return valid_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @io.qt.QtUninvokable private native boolean valid_native_int_int_constfct(long __this__nativeId, int x, int y); /** *

See QPaintDevice::width()const

*/ @io.qt.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

*/ @io.qt.QtUninvokable public final int widthMM(){ return widthMM_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int widthMM_native_constfct(long __this__nativeId); @io.qt.QtUninvokable protected void initPainter(io.qt.gui.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

*/ @io.qt.QtUninvokable protected int metric(io.qt.gui.QPaintDevice.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

*/ @io.qt.QtUninvokable public io.qt.gui.QPaintEngine paintEngine(){ return paintEngine_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QPaintEngine paintEngine_native_constfct(long __this__nativeId); @io.qt.QtUninvokable protected io.qt.gui.QPaintDevice redirected(io.qt.core.QPoint offset){ return redirected_native_QPoint_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset); } private native static io.qt.gui.QPaintDevice redirected_native_QPoint_ptr_constfct(long __this__nativeId, io.qt.core.QPoint offset); @io.qt.QtUninvokable protected io.qt.gui.QPainter sharedPainter(){ return sharedPainter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QPainter sharedPainter_native_constfct(long __this__nativeId); public native static double devicePixelRatioFScale(); /** *

Overloaded function for {@link #fromData(io.qt.core.QByteArrayView, java.lang.String)} * with format = null.

*/ public static io.qt.gui.QImage fromData(io.qt.core.QByteArrayView data) { return fromData(data, (java.lang.String)null); } public static io.qt.gui.QImage fromData(io.qt.core.QByteArrayView data, java.lang.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); /** *

Overloaded function for {@link #fromData(io.qt.core.QByteArray, java.lang.String)} * with format = null.

*/ public static io.qt.gui.QImage fromData(io.qt.core.QByteArray data) { return fromData(data, (java.lang.String)null); } public static io.qt.gui.QImage fromData(io.qt.core.QByteArray data, java.lang.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); /** *

Overloaded function for {@link #fromData(byte[], java.lang.String)} * with format = null.

*/ public static io.qt.gui.QImage fromData(byte[] data) { return fromData(data, (java.lang.String)null); } public native static io.qt.gui.QImage fromData(byte[] data, java.lang.String format); /** *

See QImage::toImageFormat(QPixelFormat)

*/ public static io.qt.gui.QImage.Format toImageFormat(io.qt.gui.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.QPixelFormat toPixelFormat(io.qt.gui.QImage.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.QTransform trueMatrix(io.qt.gui.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. */ @io.qt.NativeAccess protected QImage(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.gui.QImage) { return operator_equal((io.qt.gui.QImage) other); } return false; } @io.qt.QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.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); @Override @io.qt.QtUninvokable public String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private static native String toString_native(long __this_nativeId); @Override public QImage clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QImage clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy