io.qt.widgets.QStyleOptionGraphicsItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.widgets;
/**
* 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.QStyleOptionGraphicsItem other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QStyleOptionGraphicsItem instance, io.qt.widgets.QStyleOptionGraphicsItem other);
@io.qt.QtUninvokable
public final void set(io.qt.widgets.QStyleOptionGraphicsItem arg__1){
set_native_cref_QStyleOptionGraphicsItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void set_native_cref_QStyleOptionGraphicsItem(long __this__nativeId, long arg__1);
/**
* See QStyleOptionGraphicsItem::levelOfDetailFromTransform(QTransform)
*/
public static double levelOfDetailFromTransform(io.qt.gui.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
*/
@io.qt.QtUninvokable
public final void setExposedRect(io.qt.core.QRectF exposedRect){
setExposedRect_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exposedRect));
}
@io.qt.QtUninvokable
private native void setExposedRect_native_cref_QRectF(long __this__nativeId, long exposedRect);
/**
* The exposed rectangle, in item coordinates
* See QStyleOptionGraphicsItem::exposedRect
*/
@io.qt.QtUninvokable
public final io.qt.core.QRectF exposedRect(){
return exposedRect_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRectF exposedRect_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QStyleOptionGraphicsItem(QPrivateConstructor p) { super(p); }
@Override
public QStyleOptionGraphicsItem clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QStyleOptionGraphicsItem clone_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy