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

io.qt.widgets.QGraphicsColorizeEffect Maven / Gradle / Ivy

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

import io.qt.*;


/**
 * 

Colorize effect

*

Java wrapper for Qt class QGraphicsColorizeEffect

*/ public class QGraphicsColorizeEffect extends io.qt.widgets.QGraphicsEffect { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGraphicsColorizeEffect.class); /** *

See QGraphicsColorizeEffect::colorChanged(QColor)

*/ @QtPropertyNotify(name="color") public final @NonNull Signal1 colorChanged = new Signal1<>(); /** *

See QGraphicsColorizeEffect::strengthChanged(qreal)

*/ @QtPropertyNotify(name="strength") public final @NonNull Signal1 strengthChanged = new Signal1<>(); /** *

See QGraphicsColorizeEffect::QGraphicsColorizeEffect(QObject*)

*/ public QGraphicsColorizeEffect(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QGraphicsColorizeEffect instance, io.qt.core.QObject parent); /** *

See QGraphicsColorizeEffect::color()const

*/ @QtPropertyReader(name="color") @QtUninvokable public final io.qt.gui.@NonNull QColor color(){ return color_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QColor color_native_constfct(long __this__nativeId); /** *

See QGraphicsColorizeEffect::setColor(QColor)

*/ @QtPropertyWriter(name="color") public final void setColor(io.qt.gui.@NonNull QColor c){ setColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c)); } private native void setColor_native_cref_QColor(long __this__nativeId, long c); /** *

See QGraphicsColorizeEffect::setStrength(qreal)

*/ @QtPropertyWriter(name="strength") public final void setStrength(double strength){ setStrength_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), strength); } private native void setStrength_native_qreal(long __this__nativeId, double strength); /** *

See QGraphicsColorizeEffect::strength()const

*/ @QtPropertyReader(name="strength") @QtUninvokable public final double strength(){ return strength_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double strength_native_constfct(long __this__nativeId); /** *

See QGraphicsEffect::draw(QPainter*)

*/ @QtUninvokable @Override protected void draw(io.qt.gui.@Nullable QPainter painter){ draw_native_QPainter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter)); } @QtUninvokable private native void draw_native_QPainter_ptr(long __this__nativeId, long painter); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QGraphicsColorizeEffect(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QGraphicsColorizeEffect(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QGraphicsColorizeEffect instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QGraphicsColorizeEffect(io.qt.core.QObject)} * with parent = null.

*/ public QGraphicsColorizeEffect() { this((io.qt.core.QObject)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #color()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.gui.@NonNull QColor getColor() { return color(); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QColor)}.

*/ public final void setColor(io.qt.core.Qt.@NonNull GlobalColor c) { setColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QColor)}.

*/ public final void setColor(io.qt.gui.@NonNull QRgba64 c) { setColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QColor)}.

*/ public final void setColor(java.lang.@NonNull String c) { setColor(new io.qt.gui.QColor(c)); } /** * @hidden *

Kotlin property getter. In Java use {@link #strength()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getStrength() { return strength(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy