- 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 enumQPainterPath::ElementType
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
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 void
assign
(QPainterPath other) final QRectF
final int
capacity()
final void
clear()
clone()
Creates and returns a copy of this object.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
final Qt.FillRule
fillRule()
int
hashCode()
Returns the objects's hash code computed byqHash(QPainterPath)
.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 QPainterPath
minus
(QPainterPath other) final void
moveTo
(double x, double y) final void
final double
percentAtLength
(double t) final QPainterPath
plus
(QPainterPath other) 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 QPainterPath
subtract
(QPainterPath other) final QPainterPath
final void
swap
(QPainterPath other) final QPainterPath
times
(QTransform m) Seeoperator*(QPainterPath,
QTransform) 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()
Seeoperator<<(QDebug,
QPainterPath) 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 QPainterPath
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
-
-
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
-
times
See
operator*(QPainterPath,
QTransform) -
plus
-
unite
-
minus
-
subtract
-
writeTo
-
assign
-
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
-
hashCode
Returns the objects's hash code computed byqHash(QPainterPath)
. -
toString
See
operator<<(QDebug,
QPainterPath) -
clone
Creates and returns a copy of this object.
-