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

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

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

import io.qt.*;


/**
 * 

Struct contains a 64-bit RGB color

*

Java wrapper for Qt class QRgba64

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

See QRgba64::QRgba64()

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

See QRgba64::QRgba64(QRgba64)

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

See QRgba64::alpha()const

*/ @QtUninvokable public final short alpha(){ return alpha_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short alpha_native_constfct(long __this__nativeId); /** *

See QRgba64::alpha8()const

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

See QRgba64::blue()const

*/ @QtUninvokable public final short blue(){ return blue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short blue_native_constfct(long __this__nativeId); /** *

See QRgba64::blue8()const

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

See QRgba64::green()const

*/ @QtUninvokable public final short green(){ return green_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short green_native_constfct(long __this__nativeId); /** *

See QRgba64::green8()const

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

See QRgba64::isOpaque()const

*/ @QtUninvokable public final boolean isOpaque(){ return isOpaque_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isOpaque_native_constfct(long __this__nativeId); /** *

See QRgba64::isTransparent()const

*/ @QtUninvokable public final boolean isTransparent(){ return isTransparent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isTransparent_native_constfct(long __this__nativeId); /** *

See QRgba64::operator quint64()const

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

See QRgba64::operator=(quint64)

*/ @QtUninvokable public final void assign(long _rgba){ assign_native_quint64(QtJambi_LibraryUtilities.internal.nativeId(this), _rgba); } @QtUninvokable private native void assign_native_quint64(long __this__nativeId, long _rgba); /** *

See operator==(QRgba64,QRgba64)

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

See QRgba64::premultiplied()const

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

See QRgba64::red()const

*/ @QtUninvokable public final short red(){ return red_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short red_native_constfct(long __this__nativeId); /** *

See QRgba64::red8()const

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

See QRgba64::setAlpha(quint16)

*/ @QtUninvokable public final void setAlpha(short _alpha){ setAlpha_native_quint16(QtJambi_LibraryUtilities.internal.nativeId(this), _alpha); } @QtUninvokable private native void setAlpha_native_quint16(long __this__nativeId, short _alpha); /** *

See QRgba64::setBlue(quint16)

*/ @QtUninvokable public final void setBlue(short _blue){ setBlue_native_quint16(QtJambi_LibraryUtilities.internal.nativeId(this), _blue); } @QtUninvokable private native void setBlue_native_quint16(long __this__nativeId, short _blue); /** *

See QRgba64::setGreen(quint16)

*/ @QtUninvokable public final void setGreen(short _green){ setGreen_native_quint16(QtJambi_LibraryUtilities.internal.nativeId(this), _green); } @QtUninvokable private native void setGreen_native_quint16(long __this__nativeId, short _green); /** *

See QRgba64::setRed(quint16)

*/ @QtUninvokable public final void setRed(short _red){ setRed_native_quint16(QtJambi_LibraryUtilities.internal.nativeId(this), _red); } @QtUninvokable private native void setRed_native_quint16(long __this__nativeId, short _red); /** *

See QRgba64::toArgb32()const

*/ @QtUninvokable public final int toArgb32(){ return toArgb32_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int toArgb32_native_constfct(long __this__nativeId); /** *

See QRgba64::toRgb16()const

*/ @QtUninvokable public final short toRgb16(){ return toRgb16_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short toRgb16_native_constfct(long __this__nativeId); /** *

See QRgba64::unpremultiplied()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QRgba64 unpremultiplied(){ return unpremultiplied_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QRgba64 unpremultiplied_native_constfct(long __this__nativeId); /** *

See QRgba64::fromArgb32(uint)

*/ public native static io.qt.gui.@NonNull QRgba64 fromArgb32(int rgb); /** *

See QRgba64::fromRgba(quint8,quint8,quint8,quint8)

*/ public native static io.qt.gui.@NonNull QRgba64 fromRgba(byte red, byte green, byte blue, byte alpha); /** *

See QRgba64::fromRgba64(quint16,quint16,quint16,quint16)

*/ public native static io.qt.gui.@NonNull QRgba64 fromRgba64(short red, short green, short blue, short alpha); /** *

See QRgba64::fromRgba64(quint64)

*/ public native static io.qt.gui.@NonNull QRgba64 fromRgba64(long c); /** *

See qPremultiply(QRgba64)

*/ public static io.qt.gui.@NonNull QRgba64 qPremultiply(io.qt.gui.@NonNull QRgba64 c){ return qPremultiply_native_QRgba64(QtJambi_LibraryUtilities.internal.checkedNativeId(c)); } private native static io.qt.gui.QRgba64 qPremultiply_native_QRgba64(long c); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRgba64(QPrivateConstructor p) { super(p); } /** *

See operator==(QRgba64,QRgba64)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.gui.QRgba64) { return equals((io.qt.gui.QRgba64) other); } return false; } /** * Returns the objects's hash code computed by qHash(QRgba64). */ @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 QRgba64::QRgba64(QRgba64)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy