java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionGraphicsItem
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStyleOptionGraphicsItem extends QStyleOption implements Cloneable
Used to describe the parameters needed to draw a QGraphicsItem
Java wrapper for Qt class QStyleOptionGraphicsItem
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QStyleOptionGraphicsItem()
protected
QStyleOptionGraphicsItem(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStyleOptionGraphicsItem(QStyleOptionGraphicsItem other)
-
Method Summary
Modifier and Type Method Description QStyleOptionGraphicsItem
clone()
QRectF
exposedRect()
The exposed rectangle, in item coordinatesdouble
levelOfDetail()
static double
levelOfDetailFromTransform(QTransform worldTransform)
void
set(QStyleOptionGraphicsItem arg__1)
void
setExposedRect(QRectF exposedRect)
The exposed rectangle, in item coordinatesvoid
setLevelOfDetail(double levelOfDetail)
Methods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, init, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
-
Constructor Details
-
QStyleOptionGraphicsItem
public QStyleOptionGraphicsItem() -
QStyleOptionGraphicsItem
-
QStyleOptionGraphicsItem
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
levelOfDetailFromTransform
-
setExposedRect
The exposed rectangle, in item coordinates
-
exposedRect
The exposed rectangle, in item coordinates
-
setLevelOfDetail
-
levelOfDetail
-
clone
- Overrides:
clone
in classQStyleOption
-