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

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

There is a newer version: 6.8.1
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

Class for describing different pixel layouts in graphics buffers

*

Java wrapper for Qt class QPixelFormat

*/ public class QPixelFormat extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QPixelFormat::AlphaPosition

*/ public enum AlphaPosition implements QtEnumerator { /** *

Representing QPixelFormat::AtBeginning

*/ AtBeginning(0), /** *

Representing QPixelFormat::AtEnd

*/ AtEnd(1); static { QtJambi_LibraryUtilities.initialize(); } private AlphaPosition(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull AlphaPosition resolve(int value) { switch (value) { case 0: return AtBeginning; case 1: return AtEnd; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPixelFormat::AlphaPremultiplied

*/ public enum AlphaPremultiplied implements QtEnumerator { /** *

Representing QPixelFormat::NotPremultiplied

*/ NotPremultiplied(0), /** *

Representing QPixelFormat::Premultiplied

*/ Premultiplied(1); static { QtJambi_LibraryUtilities.initialize(); } private AlphaPremultiplied(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull AlphaPremultiplied resolve(int value) { switch (value) { case 0: return NotPremultiplied; case 1: return Premultiplied; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPixelFormat::AlphaUsage

*/ public enum AlphaUsage implements QtEnumerator { /** *

Representing QPixelFormat::UsesAlpha

*/ UsesAlpha(0), /** *

Representing QPixelFormat::IgnoresAlpha

*/ IgnoresAlpha(1); static { QtJambi_LibraryUtilities.initialize(); } private AlphaUsage(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull AlphaUsage resolve(int value) { switch (value) { case 0: return UsesAlpha; case 1: return IgnoresAlpha; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPixelFormat::ByteOrder

*/ public enum ByteOrder implements QtEnumerator { /** *

Representing QPixelFormat::LittleEndian

*/ LittleEndian(0), /** *

Representing QPixelFormat::BigEndian

*/ BigEndian(1), /** *

Representing QPixelFormat::CurrentSystemEndian

*/ CurrentSystemEndian(2); static { QtJambi_LibraryUtilities.initialize(); } private ByteOrder(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ByteOrder resolve(int value) { switch (value) { case 0: return LittleEndian; case 1: return BigEndian; case 2: return CurrentSystemEndian; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPixelFormat::ColorModel

*/ public enum ColorModel implements QtEnumerator { /** *

Representing QPixelFormat::RGB

*/ RGB(0), /** *

Representing QPixelFormat::BGR

*/ BGR(1), /** *

Representing QPixelFormat::Indexed

*/ Indexed(2), /** *

Representing QPixelFormat::Grayscale

*/ Grayscale(3), /** *

Representing QPixelFormat::CMYK

*/ CMYK(4), /** *

Representing QPixelFormat::HSL

*/ HSL(5), /** *

Representing QPixelFormat::HSV

*/ HSV(6), /** *

Representing QPixelFormat::YUV

*/ YUV(7), /** *

Representing QPixelFormat::Alpha

*/ Alpha(8); static { QtJambi_LibraryUtilities.initialize(); } private ColorModel(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ColorModel resolve(int value) { switch (value) { case 0: return RGB; case 1: return BGR; case 2: return Indexed; case 3: return Grayscale; case 4: return CMYK; case 5: return HSL; case 6: return HSV; case 7: return YUV; case 8: return Alpha; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPixelFormat::TypeInterpretation

*/ public enum TypeInterpretation implements QtEnumerator { /** *

Representing QPixelFormat::UnsignedInteger

*/ UnsignedInteger(0), /** *

Representing QPixelFormat::UnsignedShort

*/ UnsignedShort(1), /** *

Representing QPixelFormat::UnsignedByte

*/ UnsignedByte(2), /** *

Representing QPixelFormat::FloatingPoint

*/ FloatingPoint(3); static { QtJambi_LibraryUtilities.initialize(); } private TypeInterpretation(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull TypeInterpretation resolve(int value) { switch (value) { case 0: return UnsignedInteger; case 1: return UnsignedShort; case 2: return UnsignedByte; case 3: return FloatingPoint; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPixelFormat::YUVLayout

*/ public enum YUVLayout implements QtEnumerator { /** *

Representing QPixelFormat::YUV444

*/ YUV444(0), /** *

Representing QPixelFormat::YUV422

*/ YUV422(1), /** *

Representing QPixelFormat::YUV411

*/ YUV411(2), /** *

Representing QPixelFormat::YUV420P

*/ YUV420P(3), /** *

Representing QPixelFormat::YUV420SP

*/ YUV420SP(4), /** *

Representing QPixelFormat::YV12

*/ YV12(5), /** *

Representing QPixelFormat::UYVY

*/ UYVY(6), /** *

Representing QPixelFormat::YUYV

*/ YUYV(7), /** *

Representing QPixelFormat::NV12

*/ NV12(8), /** *

Representing QPixelFormat::NV21

*/ NV21(9), /** *

Representing QPixelFormat::IMC1

*/ IMC1(10), /** *

Representing QPixelFormat::IMC2

*/ IMC2(11), /** *

Representing QPixelFormat::IMC3

*/ IMC3(12), /** *

Representing QPixelFormat::IMC4

*/ IMC4(13), /** *

Representing QPixelFormat::Y8

*/ Y8(14), /** *

Representing QPixelFormat::Y16

*/ Y16(15); static { QtJambi_LibraryUtilities.initialize(); } private YUVLayout(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull YUVLayout resolve(int value) { switch (value) { case 0: return YUV444; case 1: return YUV422; case 2: return YUV411; case 3: return YUV420P; case 4: return YUV420SP; case 5: return YV12; case 6: return UYVY; case 7: return YUYV; case 8: return NV12; case 9: return NV21; case 10: return IMC1; case 11: return IMC2; case 12: return IMC3; case 13: return IMC4; case 14: return Y8; case 15: return Y16; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QPixelFormat::QPixelFormat()

*/ public QPixelFormat(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QPixelFormat instance); /** *

See QPixelFormat::QPixelFormat(QPixelFormat)

* @param other */ public QPixelFormat(io.qt.gui.@NonNull QPixelFormat other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QPixelFormat instance, io.qt.gui.QPixelFormat other); /** *

See QPixelFormat::QPixelFormat(QPixelFormat::ColorModel,uchar,uchar,uchar,uchar,uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::AlphaPremultiplied,QPixelFormat::TypeInterpretation,QPixelFormat::ByteOrder,uchar)

* @param colorModel * @param firstSize * @param secondSize * @param thirdSize * @param fourthSize * @param fifthSize * @param alphaSize * @param alphaUsage * @param alphaPosition * @param premultiplied * @param typeInterpretation * @param byteOrder * @param subEnum */ public QPixelFormat(io.qt.gui.QPixelFormat.@NonNull ColorModel colorModel, byte firstSize, byte secondSize, byte thirdSize, byte fourthSize, byte fifthSize, byte alphaSize, io.qt.gui.QPixelFormat.@NonNull AlphaUsage alphaUsage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition alphaPosition, io.qt.gui.QPixelFormat.@NonNull AlphaPremultiplied premultiplied, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInterpretation, io.qt.gui.QPixelFormat.@NonNull ByteOrder byteOrder, byte subEnum){ super((QPrivateConstructor)null); initialize_native(this, colorModel, firstSize, secondSize, thirdSize, fourthSize, fifthSize, alphaSize, alphaUsage, alphaPosition, premultiplied, typeInterpretation, byteOrder, subEnum); } private native static void initialize_native(QPixelFormat instance, io.qt.gui.QPixelFormat.ColorModel colorModel, byte firstSize, byte secondSize, byte thirdSize, byte fourthSize, byte fifthSize, byte alphaSize, io.qt.gui.QPixelFormat.AlphaUsage alphaUsage, io.qt.gui.QPixelFormat.AlphaPosition alphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied premultiplied, io.qt.gui.QPixelFormat.TypeInterpretation typeInterpretation, io.qt.gui.QPixelFormat.ByteOrder byteOrder, byte subEnum); /** *

See QPixelFormat::alphaPosition()const

* @return */ @QtUninvokable public final io.qt.gui.QPixelFormat.@NonNull AlphaPosition alphaPosition(){ return io.qt.gui.QPixelFormat.AlphaPosition.resolve(alphaPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int alphaPosition_native_constfct(long __this__nativeId); /** *

See QPixelFormat::alphaSize()const

* @return */ @QtUninvokable public final byte alphaSize(){ return alphaSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte alphaSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::alphaUsage()const

* @return */ @QtUninvokable public final io.qt.gui.QPixelFormat.@NonNull AlphaUsage alphaUsage(){ return io.qt.gui.QPixelFormat.AlphaUsage.resolve(alphaUsage_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int alphaUsage_native_constfct(long __this__nativeId); /** *

See QPixelFormat::bitsPerPixel()const

* @return */ @QtUninvokable public final byte bitsPerPixel(){ return bitsPerPixel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte bitsPerPixel_native_constfct(long __this__nativeId); /** *

See QPixelFormat::blackSize()const

* @return */ @QtUninvokable public final byte blackSize(){ return blackSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte blackSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::blueSize()const

* @return */ @QtUninvokable public final byte blueSize(){ return blueSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte blueSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::brightnessSize()const

* @return */ @QtUninvokable public final byte brightnessSize(){ return brightnessSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte brightnessSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::byteOrder()const

* @return */ @QtUninvokable public final io.qt.gui.QPixelFormat.@NonNull ByteOrder byteOrder(){ return io.qt.gui.QPixelFormat.ByteOrder.resolve(byteOrder_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int byteOrder_native_constfct(long __this__nativeId); /** *

See QPixelFormat::channelCount()const

* @return */ @QtUninvokable public final byte channelCount(){ return channelCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte channelCount_native_constfct(long __this__nativeId); /** *

See QPixelFormat::colorModel()const

* @return */ @QtUninvokable public final io.qt.gui.QPixelFormat.@NonNull ColorModel colorModel(){ return io.qt.gui.QPixelFormat.ColorModel.resolve(colorModel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int colorModel_native_constfct(long __this__nativeId); /** *

See QPixelFormat::cyanSize()const

* @return */ @QtUninvokable public final byte cyanSize(){ return cyanSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte cyanSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::greenSize()const

* @return */ @QtUninvokable public final byte greenSize(){ return greenSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte greenSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::hueSize()const

* @return */ @QtUninvokable public final byte hueSize(){ return hueSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte hueSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::lightnessSize()const

* @return */ @QtUninvokable public final byte lightnessSize(){ return lightnessSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte lightnessSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::magentaSize()const

* @return */ @QtUninvokable public final byte magentaSize(){ return magentaSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte magentaSize_native_constfct(long __this__nativeId); /** *

See operator==(QPixelFormat,QPixelFormat)

* @param fmt2 * @return */ @QtUninvokable public final boolean equals(io.qt.gui.@NonNull QPixelFormat fmt2){ return equals_native_QPixelFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(fmt2)); } @QtUninvokable private native boolean equals_native_QPixelFormat(long __this__nativeId, long fmt2); /** *

See QPixelFormat::premultiplied()const

* @return */ @QtUninvokable public final io.qt.gui.QPixelFormat.@NonNull AlphaPremultiplied premultiplied(){ return io.qt.gui.QPixelFormat.AlphaPremultiplied.resolve(premultiplied_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int premultiplied_native_constfct(long __this__nativeId); /** *

See QPixelFormat::redSize()const

* @return */ @QtUninvokable public final byte redSize(){ return redSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte redSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::saturationSize()const

* @return */ @QtUninvokable public final byte saturationSize(){ return saturationSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte saturationSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::subEnum()const

* @return */ @QtUninvokable public final byte subEnum(){ return subEnum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte subEnum_native_constfct(long __this__nativeId); /** *

See QPixelFormat::typeInterpretation()const

* @return */ @QtUninvokable public final io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInterpretation(){ return io.qt.gui.QPixelFormat.TypeInterpretation.resolve(typeInterpretation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int typeInterpretation_native_constfct(long __this__nativeId); /** *

See QPixelFormat::yellowSize()const

* @return */ @QtUninvokable public final byte yellowSize(){ return yellowSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte yellowSize_native_constfct(long __this__nativeId); /** *

See QPixelFormat::yuvLayout()const

* @return */ @QtUninvokable public final io.qt.gui.QPixelFormat.@NonNull YUVLayout yuvLayout(){ return io.qt.gui.QPixelFormat.YUVLayout.resolve(yuvLayout_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int yuvLayout_native_constfct(long __this__nativeId); /** *

See qPixelFormatAlpha(uchar,QPixelFormat::TypeInterpretation)

* @param channelSize * @param typeInt * @return */ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatAlpha(byte channelSize, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInt){ return qPixelFormatAlpha_native_uchar_QPixelFormat_TypeInterpretation(channelSize, typeInt.value()); } private native static io.qt.gui.QPixelFormat qPixelFormatAlpha_native_uchar_QPixelFormat_TypeInterpretation(byte channelSize, int typeInt); /** *

See qPixelFormatCmyk(uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::TypeInterpretation)

* @param channelSize * @param alfa * @param usage * @param position * @param typeInt * @return */ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatCmyk(byte channelSize, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInt){ return qPixelFormatCmyk_native_uchar_uchar_QPixelFormat_AlphaUsage_QPixelFormat_AlphaPosition_QPixelFormat_TypeInterpretation(channelSize, alfa, usage.value(), position.value(), typeInt.value()); } private native static io.qt.gui.QPixelFormat qPixelFormatCmyk_native_uchar_uchar_QPixelFormat_AlphaUsage_QPixelFormat_AlphaPosition_QPixelFormat_TypeInterpretation(byte channelSize, byte alfa, int usage, int position, int typeInt); /** *

See qPixelFormatGrayscale(uchar,QPixelFormat::TypeInterpretation)

* @param channelSize * @param typeInt * @return */ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatGrayscale(byte channelSize, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInt){ return qPixelFormatGrayscale_native_uchar_QPixelFormat_TypeInterpretation(channelSize, typeInt.value()); } private native static io.qt.gui.QPixelFormat qPixelFormatGrayscale_native_uchar_QPixelFormat_TypeInterpretation(byte channelSize, int typeInt); /** *

See qPixelFormatHsl(uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::TypeInterpretation)

* @param channelSize * @param alfa * @param usage * @param position * @param typeInt * @return */ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatHsl(byte channelSize, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInt){ return qPixelFormatHsl_native_uchar_uchar_QPixelFormat_AlphaUsage_QPixelFormat_AlphaPosition_QPixelFormat_TypeInterpretation(channelSize, alfa, usage.value(), position.value(), typeInt.value()); } private native static io.qt.gui.QPixelFormat qPixelFormatHsl_native_uchar_uchar_QPixelFormat_AlphaUsage_QPixelFormat_AlphaPosition_QPixelFormat_TypeInterpretation(byte channelSize, byte alfa, int usage, int position, int typeInt); /** *

See qPixelFormatHsv(uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::TypeInterpretation)

* @param channelSize * @param alfa * @param usage * @param position * @param typeInt * @return */ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatHsv(byte channelSize, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInt){ return qPixelFormatHsv_native_uchar_uchar_QPixelFormat_AlphaUsage_QPixelFormat_AlphaPosition_QPixelFormat_TypeInterpretation(channelSize, alfa, usage.value(), position.value(), typeInt.value()); } private native static io.qt.gui.QPixelFormat qPixelFormatHsv_native_uchar_uchar_QPixelFormat_AlphaUsage_QPixelFormat_AlphaPosition_QPixelFormat_TypeInterpretation(byte channelSize, byte alfa, int usage, int position, int typeInt); /** *

See qPixelFormatRgba(uchar,uchar,uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::AlphaPremultiplied,QPixelFormat::TypeInterpretation)

* @param red * @param green * @param blue * @param alfa * @param usage * @param position * @param pmul * @param typeInt * @return */ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatRgba(byte red, byte green, byte blue, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position, io.qt.gui.QPixelFormat.@NonNull AlphaPremultiplied pmul, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInt){ return qPixelFormatRgba_native_uchar_uchar_uchar_uchar_QPixelFormat_AlphaUsage_QPixelFormat_AlphaPosition_QPixelFormat_AlphaPremultiplied_QPixelFormat_TypeInterpretation(red, green, blue, alfa, usage.value(), position.value(), pmul.value(), typeInt.value()); } private native static io.qt.gui.QPixelFormat qPixelFormatRgba_native_uchar_uchar_uchar_uchar_QPixelFormat_AlphaUsage_QPixelFormat_AlphaPosition_QPixelFormat_AlphaPremultiplied_QPixelFormat_TypeInterpretation(byte red, byte green, byte blue, byte alfa, int usage, int position, int pmul, int typeInt); /** *

See qPixelFormatYuv(QPixelFormat::YUVLayout,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::AlphaPremultiplied,QPixelFormat::TypeInterpretation,QPixelFormat::ByteOrder)

* @param layout * @param alfa * @param usage * @param position * @param p_mul * @param typeInt * @param b_order * @return */ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatYuv(io.qt.gui.QPixelFormat.@NonNull YUVLayout layout, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position, io.qt.gui.QPixelFormat.@NonNull AlphaPremultiplied p_mul, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInt, io.qt.gui.QPixelFormat.@NonNull ByteOrder b_order){ return qPixelFormatYuv_native_QPixelFormat_YUVLayout_uchar_QPixelFormat_AlphaUsage_QPixelFormat_AlphaPosition_QPixelFormat_AlphaPremultiplied_QPixelFormat_TypeInterpretation_QPixelFormat_ByteOrder(layout.value(), alfa, usage.value(), position.value(), p_mul.value(), typeInt.value(), b_order.value()); } private native static io.qt.gui.QPixelFormat qPixelFormatYuv_native_QPixelFormat_YUVLayout_uchar_QPixelFormat_AlphaUsage_QPixelFormat_AlphaPosition_QPixelFormat_AlphaPremultiplied_QPixelFormat_TypeInterpretation_QPixelFormat_ByteOrder(int layout, byte alfa, int usage, int position, int p_mul, int typeInt, int b_order); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QPixelFormat(QPrivateConstructor p) { super(p); } /** *

See operator==(QPixelFormat,QPixelFormat)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other==null || other instanceof io.qt.gui.QPixelFormat) { return equals((io.qt.gui.QPixelFormat) other); } return false; } /** * Returns the objects's hash code computed by qHash(QPixelFormat). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QPixelFormat::QPixelFormat(QPixelFormat)

*/ @QtUninvokable @Override public QPixelFormat clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QPixelFormat clone_native(long __this_nativeId); /** *

Overloaded constructor for {@link #QPixelFormat(io.qt.gui.QPixelFormat.ColorModel, byte, byte, byte, byte, byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation, io.qt.gui.QPixelFormat.ByteOrder, byte)} * with subEnum = 0.

*/ public QPixelFormat(io.qt.gui.QPixelFormat.@NonNull ColorModel colorModel, byte firstSize, byte secondSize, byte thirdSize, byte fourthSize, byte fifthSize, byte alphaSize, io.qt.gui.QPixelFormat.@NonNull AlphaUsage alphaUsage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition alphaPosition, io.qt.gui.QPixelFormat.@NonNull AlphaPremultiplied premultiplied, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInterpretation, io.qt.gui.QPixelFormat.@NonNull ByteOrder byteOrder) { this(colorModel, firstSize, secondSize, thirdSize, fourthSize, fifthSize, alphaSize, alphaUsage, alphaPosition, premultiplied, typeInterpretation, byteOrder, (byte)0); } /** *

Overloaded constructor for {@link #QPixelFormat(io.qt.gui.QPixelFormat.ColorModel, byte, byte, byte, byte, byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation, io.qt.gui.QPixelFormat.ByteOrder, byte)}

*

with:

    *
  • byteOrder = io.qt.gui.QPixelFormat.ByteOrder.CurrentSystemEndian
  • *
  • subEnum = 0
  • *
*/ public QPixelFormat(io.qt.gui.QPixelFormat.@NonNull ColorModel colorModel, byte firstSize, byte secondSize, byte thirdSize, byte fourthSize, byte fifthSize, byte alphaSize, io.qt.gui.QPixelFormat.@NonNull AlphaUsage alphaUsage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition alphaPosition, io.qt.gui.QPixelFormat.@NonNull AlphaPremultiplied premultiplied, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInterpretation) { this(colorModel, firstSize, secondSize, thirdSize, fourthSize, fifthSize, alphaSize, alphaUsage, alphaPosition, premultiplied, typeInterpretation, io.qt.gui.QPixelFormat.ByteOrder.CurrentSystemEndian, (byte)0); } /** *

Overloaded function for {@link #qPixelFormatAlpha(byte, io.qt.gui.QPixelFormat.TypeInterpretation)} * with typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger.

*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatAlpha(byte channelSize) { return qPixelFormatAlpha(channelSize, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger); } /** *

Overloaded function for {@link #qPixelFormatCmyk(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)} * with typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger.

*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatCmyk(byte channelSize, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position) { return qPixelFormatCmyk(channelSize, alfa, usage, position, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger); } /** *

Overloaded function for {@link #qPixelFormatCmyk(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)}

*

with:

    *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatCmyk(byte channelSize, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage) { return qPixelFormatCmyk(channelSize, alfa, usage, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger); } /** *

Overloaded function for {@link #qPixelFormatCmyk(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)}

*

with:

    *
  • usage = io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha
  • *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatCmyk(byte channelSize, byte alfa) { return qPixelFormatCmyk(channelSize, alfa, io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger); } /** *

Overloaded function for {@link #qPixelFormatCmyk(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)}

*

with:

    *
  • alfa = 0
  • *
  • usage = io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha
  • *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatCmyk(byte channelSize) { return qPixelFormatCmyk(channelSize, (byte)0, io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger); } /** *

Overloaded function for {@link #qPixelFormatGrayscale(byte, io.qt.gui.QPixelFormat.TypeInterpretation)} * with typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger.

*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatGrayscale(byte channelSize) { return qPixelFormatGrayscale(channelSize, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger); } /** *

Overloaded function for {@link #qPixelFormatHsl(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)} * with typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint.

*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatHsl(byte channelSize, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position) { return qPixelFormatHsl(channelSize, alfa, usage, position, io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint); } /** *

Overloaded function for {@link #qPixelFormatHsl(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)}

*

with:

    *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatHsl(byte channelSize, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage) { return qPixelFormatHsl(channelSize, alfa, usage, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint); } /** *

Overloaded function for {@link #qPixelFormatHsl(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)}

*

with:

    *
  • usage = io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha
  • *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatHsl(byte channelSize, byte alfa) { return qPixelFormatHsl(channelSize, alfa, io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint); } /** *

Overloaded function for {@link #qPixelFormatHsl(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)}

*

with:

    *
  • alfa = 0
  • *
  • usage = io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha
  • *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatHsl(byte channelSize) { return qPixelFormatHsl(channelSize, (byte)0, io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint); } /** *

Overloaded function for {@link #qPixelFormatHsv(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)} * with typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint.

*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatHsv(byte channelSize, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position) { return qPixelFormatHsv(channelSize, alfa, usage, position, io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint); } /** *

Overloaded function for {@link #qPixelFormatHsv(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)}

*

with:

    *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatHsv(byte channelSize, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage) { return qPixelFormatHsv(channelSize, alfa, usage, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint); } /** *

Overloaded function for {@link #qPixelFormatHsv(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)}

*

with:

    *
  • usage = io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha
  • *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatHsv(byte channelSize, byte alfa) { return qPixelFormatHsv(channelSize, alfa, io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint); } /** *

Overloaded function for {@link #qPixelFormatHsv(byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.TypeInterpretation)}

*

with:

    *
  • alfa = 0
  • *
  • usage = io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha
  • *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatHsv(byte channelSize) { return qPixelFormatHsv(channelSize, (byte)0, io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.TypeInterpretation.FloatingPoint); } /** *

Overloaded function for {@link #qPixelFormatRgba(byte, byte, byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation)} * with typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger.

*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatRgba(byte red, byte green, byte blue, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position, io.qt.gui.QPixelFormat.@NonNull AlphaPremultiplied pmul) { return qPixelFormatRgba(red, green, blue, alfa, usage, position, pmul, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger); } /** *

Overloaded function for {@link #qPixelFormatRgba(byte, byte, byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation)}

*

with:

    *
  • pmul = io.qt.gui.QPixelFormat.AlphaPremultiplied.NotPremultiplied
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatRgba(byte red, byte green, byte blue, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position) { return qPixelFormatRgba(red, green, blue, alfa, usage, position, io.qt.gui.QPixelFormat.AlphaPremultiplied.NotPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedInteger); } /** *

Overloaded function for {@link #qPixelFormatYuv(io.qt.gui.QPixelFormat.YUVLayout, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation, io.qt.gui.QPixelFormat.ByteOrder)} * with b_order = io.qt.gui.QPixelFormat.ByteOrder.LittleEndian.

*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatYuv(io.qt.gui.QPixelFormat.@NonNull YUVLayout layout, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position, io.qt.gui.QPixelFormat.@NonNull AlphaPremultiplied p_mul, io.qt.gui.QPixelFormat.@NonNull TypeInterpretation typeInt) { return qPixelFormatYuv(layout, alfa, usage, position, p_mul, typeInt, io.qt.gui.QPixelFormat.ByteOrder.LittleEndian); } /** *

Overloaded function for {@link #qPixelFormatYuv(io.qt.gui.QPixelFormat.YUVLayout, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation, io.qt.gui.QPixelFormat.ByteOrder)}

*

with:

    *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedByte
  • *
  • b_order = io.qt.gui.QPixelFormat.ByteOrder.LittleEndian
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatYuv(io.qt.gui.QPixelFormat.@NonNull YUVLayout layout, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position, io.qt.gui.QPixelFormat.@NonNull AlphaPremultiplied p_mul) { return qPixelFormatYuv(layout, alfa, usage, position, p_mul, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedByte, io.qt.gui.QPixelFormat.ByteOrder.LittleEndian); } /** *

Overloaded function for {@link #qPixelFormatYuv(io.qt.gui.QPixelFormat.YUVLayout, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation, io.qt.gui.QPixelFormat.ByteOrder)}

*

with:

    *
  • p_mul = io.qt.gui.QPixelFormat.AlphaPremultiplied.NotPremultiplied
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedByte
  • *
  • b_order = io.qt.gui.QPixelFormat.ByteOrder.LittleEndian
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatYuv(io.qt.gui.QPixelFormat.@NonNull YUVLayout layout, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage, io.qt.gui.QPixelFormat.@NonNull AlphaPosition position) { return qPixelFormatYuv(layout, alfa, usage, position, io.qt.gui.QPixelFormat.AlphaPremultiplied.NotPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedByte, io.qt.gui.QPixelFormat.ByteOrder.LittleEndian); } /** *

Overloaded function for {@link #qPixelFormatYuv(io.qt.gui.QPixelFormat.YUVLayout, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation, io.qt.gui.QPixelFormat.ByteOrder)}

*

with:

    *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • p_mul = io.qt.gui.QPixelFormat.AlphaPremultiplied.NotPremultiplied
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedByte
  • *
  • b_order = io.qt.gui.QPixelFormat.ByteOrder.LittleEndian
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatYuv(io.qt.gui.QPixelFormat.@NonNull YUVLayout layout, byte alfa, io.qt.gui.QPixelFormat.@NonNull AlphaUsage usage) { return qPixelFormatYuv(layout, alfa, usage, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.AlphaPremultiplied.NotPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedByte, io.qt.gui.QPixelFormat.ByteOrder.LittleEndian); } /** *

Overloaded function for {@link #qPixelFormatYuv(io.qt.gui.QPixelFormat.YUVLayout, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation, io.qt.gui.QPixelFormat.ByteOrder)}

*

with:

    *
  • usage = io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha
  • *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • p_mul = io.qt.gui.QPixelFormat.AlphaPremultiplied.NotPremultiplied
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedByte
  • *
  • b_order = io.qt.gui.QPixelFormat.ByteOrder.LittleEndian
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatYuv(io.qt.gui.QPixelFormat.@NonNull YUVLayout layout, byte alfa) { return qPixelFormatYuv(layout, alfa, io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.AlphaPremultiplied.NotPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedByte, io.qt.gui.QPixelFormat.ByteOrder.LittleEndian); } /** *

Overloaded function for {@link #qPixelFormatYuv(io.qt.gui.QPixelFormat.YUVLayout, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation, io.qt.gui.QPixelFormat.ByteOrder)}

*

with:

    *
  • alfa = 0
  • *
  • usage = io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha
  • *
  • position = io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning
  • *
  • p_mul = io.qt.gui.QPixelFormat.AlphaPremultiplied.NotPremultiplied
  • *
  • typeInt = io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedByte
  • *
  • b_order = io.qt.gui.QPixelFormat.ByteOrder.LittleEndian
  • *
*/ public static io.qt.gui.@NonNull QPixelFormat qPixelFormatYuv(io.qt.gui.QPixelFormat.@NonNull YUVLayout layout) { return qPixelFormatYuv(layout, (byte)0, io.qt.gui.QPixelFormat.AlphaUsage.IgnoresAlpha, io.qt.gui.QPixelFormat.AlphaPosition.AtBeginning, io.qt.gui.QPixelFormat.AlphaPremultiplied.NotPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation.UnsignedByte, io.qt.gui.QPixelFormat.ByteOrder.LittleEndian); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy