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
-
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 coordinatesstatic 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 coordinatesMethods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, 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
- Parameters:
other
-
-
-
Method Details
-
assign
See
QStyleOptionGraphicsItem::
operator=(QStyleOptionGraphicsItem) - Parameters:
arg__1
-
-
levelOfDetailFromTransform
- Parameters:
worldTransform
-- Returns:
-
setExposedRect
The exposed rectangle, in item coordinates
- Parameters:
exposedRect
-
-
exposedRect
The exposed rectangle, in item coordinates
- Returns:
-
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.