- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Container for painting operations, enabling graphical shapes to be constructed and reused
Java wrapper for Qt class QPainterPath
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
QPainterPath::Element class specifies the position and type of a subpathstatic enum
Java wrapper for Qt enum QPainterPath::ElementTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQPainterPath
(QPointF startPoint) QPainterPath
(QPainterPath other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addEllipse
(double x, double y, double w, double h) final void
addEllipse
(QPointF center, double rx, double ry) final void
addEllipse
(QRectF rect) final void
addPath
(QPainterPath path) final void
addPolygon
(QPolygonF polygon) final void
addRect
(double x, double y, double w, double h) final void
final void
final void
addRoundedRect
(double x, double y, double w, double h, double xRadius, double yRadius) Overloaded function foraddRoundedRect(double, double, double, double, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
.final void
addRoundedRect
(double x, double y, double w, double h, double xRadius, double yRadius, Qt.SizeMode mode) final void
addRoundedRect
(QRectF rect, double xRadius, double yRadius) Overloaded function foraddRoundedRect(io.qt.core.QRectF, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
.final void
addRoundedRect
(QRectF rect, double xRadius, double yRadius, Qt.SizeMode mode) final void
final void
final double
angleAtPercent
(double t) final void
arcMoveTo
(double x, double y, double w, double h, double angle) final void
final void
arcTo
(double x, double y, double w, double h, double startAngle, double arcLength) final void
final QRectF
final int
capacity()
final void
clear()
clone()
final void
final void
connectPath
(QPainterPath path) final boolean
final boolean
final boolean
final QRectF
final void
cubicTo
(double ctrlPt1x, double ctrlPt1y, double ctrlPt2x, double ctrlPt2y, double endPtx, double endPty) final void
final QPointF
final QPainterPath.Element
elementAt
(int i) final int
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final Qt.FillRule
fillRule()
int
hashCode()
final void
intersect
(QPainterPath other) final QPainterPath
final boolean
intersects
(QRectF rect) final boolean
final boolean
isEmpty()
final double
length()
final void
lineTo
(double x, double y) final void
final void
moveTo
(double x, double y) final void
final double
percentAtLength
(double t) final QPointF
pointAtPercent
(double t) final void
quadTo
(double ctrlPtx, double ctrlPty, double endPtx, double endPty) final void
void
readFrom
(QDataStream arg__1) final void
reserve
(int size) final void
setElementPositionAt
(int i, double x, double y) final void
setFillRule
(Qt.FillRule fillRule) final QPainterPath
final double
slopeAtPercent
(double t) final void
subtract
(QPainterPath other) final QPainterPath
final void
swap
(QPainterPath other) final QPolygonF
Overloaded function fortoFillPolygon(io.qt.gui.QTransform)
withmatrix = new io.qt.gui.QTransform()
.final QPolygonF
toFillPolygon
(QTransform matrix) Overloaded function fortoFillPolygons(io.qt.gui.QTransform)
withmatrix = new io.qt.gui.QTransform()
.toFillPolygons
(QTransform matrix) final QPainterPath
toString()
Overloaded function fortoSubpathPolygons(io.qt.gui.QTransform)
withmatrix = new io.qt.gui.QTransform()
.toSubpathPolygons
(QTransform matrix) final void
translate
(double dx, double dy) final void
final QPainterPath
translated
(double dx, double dy) final QPainterPath
translated
(QPointF offset) final void
unite
(QPainterPath other) final QPainterPath
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPainterPath
public QPainterPath() -
QPainterPath
-
QPainterPath
-
QPainterPath
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addEllipse
-
addEllipse
-
addEllipse
-
addPath
-
addPolygon
-
addRect
-
addRect
-
addRegion
-
addRoundedRect
Overloaded function for
addRoundedRect(io.qt.core.QRectF, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
. -
addRoundedRect
@QtUninvokable public final void addRoundedRect(QRectF rect, double xRadius, double yRadius, Qt.SizeMode mode) -
addRoundedRect
@QtUninvokable public final void addRoundedRect(double x, double y, double w, double h, double xRadius, double yRadius) Overloaded function for
addRoundedRect(double, double, double, double, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
. -
addRoundedRect
@QtUninvokable public final void addRoundedRect(double x, double y, double w, double h, double xRadius, double yRadius, Qt.SizeMode mode) -
addText
-
addText
-
angleAtPercent
-
arcMoveTo
-
arcMoveTo
-
arcTo
-
arcTo
@QtUninvokable public final void arcTo(double x, double y, double w, double h, double startAngle, double arcLength) -
boundingRect
-
capacity
-
clear
-
closeSubpath
-
connectPath
-
contains
-
contains
-
contains
-
controlPointRect
-
cubicTo
-
cubicTo
@QtUninvokable public final void cubicTo(double ctrlPt1x, double ctrlPt1y, double ctrlPt2x, double ctrlPt2y, double endPtx, double endPty) -
currentPosition
-
elementAt
-
elementCount
-
fillRule
-
intersected
-
intersects
-
intersects
-
isEmpty
-
length
-
lineTo
-
lineTo
-
moveTo
-
moveTo
-
intersect
-
unite
-
subtract
-
writeTo
-
readFrom
-
percentAtLength
-
pointAtPercent
-
quadTo
-
quadTo
@QtUninvokable public final void quadTo(double ctrlPtx, double ctrlPty, double endPtx, double endPty) -
reserve
-
setElementPositionAt
-
setFillRule
-
simplified
-
slopeAtPercent
-
subtracted
-
swap
-
toFillPolygon
Overloaded function for
toFillPolygon(io.qt.gui.QTransform)
withmatrix = new io.qt.gui.QTransform()
. -
toFillPolygon
-
toFillPolygons
Overloaded function for
toFillPolygons(io.qt.gui.QTransform)
withmatrix = new io.qt.gui.QTransform()
. -
toFillPolygons
-
toReversed
-
toSubpathPolygons
Overloaded function for
toSubpathPolygons(io.qt.gui.QTransform)
withmatrix = new io.qt.gui.QTransform()
. -
toSubpathPolygons
-
translate
-
translate
-
translated
-
translated
-
united
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-