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

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

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

import io.qt.*;


/**
 * 

Used to describe the parameters needed to draw a QGraphicsItem

*

Java wrapper for Qt class QStyleOptionGraphicsItem

*/ public class QStyleOptionGraphicsItem extends io.qt.widgets.QStyleOption implements java.lang.Cloneable { /** *

See QStyleOptionGraphicsItem::QStyleOptionGraphicsItem()

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

See QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(QStyleOptionGraphicsItem)

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

See QStyleOptionGraphicsItem::operator=(QStyleOptionGraphicsItem)

*/ @QtUninvokable public final void assign(io.qt.widgets.@NonNull QStyleOptionGraphicsItem arg__1){ assign_native_cref_QStyleOptionGraphicsItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QStyleOptionGraphicsItem(long __this__nativeId, long arg__1); /** *

See QStyleOptionGraphicsItem::levelOfDetailFromTransform(QTransform)

*/ public static double levelOfDetailFromTransform(io.qt.gui.@NonNull QTransform worldTransform){ return levelOfDetailFromTransform_native_cref_QTransform(QtJambi_LibraryUtilities.internal.checkedNativeId(worldTransform)); } private native static double levelOfDetailFromTransform_native_cref_QTransform(long worldTransform); /** *

The exposed rectangle, in item coordinates

*

See QStyleOptionGraphicsItem::exposedRect

*/ @QtUninvokable public final void setExposedRect(io.qt.core.@NonNull QRectF exposedRect){ setExposedRect_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exposedRect)); } @QtUninvokable private native void setExposedRect_native_cref_QRectF(long __this__nativeId, long exposedRect); /** *

The exposed rectangle, in item coordinates

*

See QStyleOptionGraphicsItem::exposedRect

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF exposedRect(){ return exposedRect_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRectF exposedRect_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QStyleOptionGraphicsItem(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(QStyleOptionGraphicsItem)

*/ @QtUninvokable @Override public QStyleOptionGraphicsItem clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QStyleOptionGraphicsItem clone_native(long __this_nativeId); /** * @deprecated Use {@link #assign(io.qt.widgets.QStyleOptionGraphicsItem)} instead. */ @Deprecated @QtUninvokable public final void set(io.qt.widgets.@NonNull QStyleOptionGraphicsItem arg__1) { assign(arg__1); } /** *

Overloaded function for {@link #setExposedRect(io.qt.core.QRectF)}.

*/ @QtUninvokable public final void setExposedRect(io.qt.core.@NonNull QRect exposedRect) { setExposedRect(new io.qt.core.QRectF(exposedRect)); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF getExposedRect() { return exposedRect(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy