java.lang.Object
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionGraphicsItem
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters needed to draw a QGraphicsItem
Java wrapper for Qt class QStyleOptionGraphicsItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionGraphicsItem arg__1) SeeQStyleOptionGraphicsItem::
operator=(QStyleOptionGraphicsItem) clone()
Creates and returns a copy of this object.final QRectF
The exposed rectangle, in item coordinatesfinal double
static double
levelOfDetailFromTransform
(QTransform worldTransform) final void
set
(QStyleOptionGraphicsItem arg__1) Deprecated.final void
setExposedRect
(QRect exposedRect) Overloaded function forsetExposedRect(io.qt.core.QRectF)
.final void
setExposedRect
(QRectF exposedRect) The exposed rectangle, in item coordinatesfinal void
setLevelOfDetail
(double levelOfDetail) Methods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, init, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStyleOptionGraphicsItem
public QStyleOptionGraphicsItem() -
QStyleOptionGraphicsItem
-
-
Method Details
-
assign
See
QStyleOptionGraphicsItem::
operator=(QStyleOptionGraphicsItem) -
levelOfDetailFromTransform
-
setExposedRect
The exposed rectangle, in item coordinates
-
exposedRect
The exposed rectangle, in item coordinates
-
setLevelOfDetail
-
levelOfDetail
-
clone
Creates and returns a copy of this object.
See
QStyleOptionGraphicsItem::
QStyleOptionGraphicsItem(QStyleOptionGraphicsItem) - Overrides:
clone
in classQStyleOption
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionGraphicsItem)
instead. -
setExposedRect
Overloaded function for
setExposedRect(io.qt.core.QRectF)
.
-
assign(io.qt.widgets.QStyleOptionGraphicsItem)
instead.