- 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
-
Constructor Summary
ConstructorDescriptionQPainterPath
(QPoint startPoint) Overloaded constructor forQPainterPath(io.qt.core.QPointF)
.QPainterPath
(QPointF startPoint) QPainterPath
(QPainterPath other) -
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
(QPoint center, double rx, double ry) Overloaded function foraddEllipse(io.qt.core.QPointF, double, double)
.final void
addEllipse
(QRect rect) Overloaded function foraddEllipse(io.qt.core.QRectF)
.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
Overloaded function foraddRect(io.qt.core.QRectF)
.final void
final void
Overloaded function foraddRegion(io.qt.gui.QRegion)
.final void
Overloaded function foraddRegion(io.qt.gui.QRegion)
.final void
Overloaded function foraddRegion(io.qt.gui.QRegion)
.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
addRoundedRect
(QRect rect, double xRadius, double yRadius) Overloaded function foraddRoundedRect(io.qt.core.QRect, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
.final void
addRoundedRect
(QRect rect, double xRadius, double yRadius, Qt.SizeMode mode) Overloaded function foraddRoundedRect(io.qt.core.QRectF, double, double, io.qt.core.Qt.SizeMode)
.final void
addRoundRect
(double x, double y, double w, double h, int roundness) final void
addRoundRect
(double x, double y, double w, double h, int xRnd, int yRnd) final void
addRoundRect
(QRectF rect, int roundness) final void
addRoundRect
(QRectF rect, int xRnd, int yRnd) final void
addRoundRect
(QRect rect, int roundness) Overloaded function foraddRoundRect(io.qt.core.QRectF, int)
.final void
addRoundRect
(QRect rect, int xRnd, int yRnd) Overloaded function foraddRoundRect(io.qt.core.QRectF, int, int)
.final void
final void
Overloaded function foraddText(double, double, io.qt.gui.QFont, java.lang.String)
.final void
final void
Overloaded function foraddText(io.qt.core.QPointF, io.qt.gui.QFont, java.lang.String)
.final void
Overloaded function foraddText(io.qt.core.QPointF, io.qt.gui.QFont, java.lang.String)
.final void
Overloaded function foraddText(io.qt.core.QPointF, io.qt.gui.QFont, java.lang.String)
.final double
angleAtPercent
(double t) final void
arcMoveTo
(double x, double y, double w, double h, double angle) final void
final void
Overloaded function forarcMoveTo(io.qt.core.QRectF, double)
.final void
arcTo
(double x, double y, double w, double h, double startAngle, double arcLength) final void
final void
Overloaded function forarcTo(io.qt.core.QRectF, double, double)
.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
Overloaded function forcontains(io.qt.core.QPointF)
.final boolean
final boolean
Overloaded function forcontains(io.qt.core.QRectF)
.final boolean
final boolean
final QRectF
final void
cubicTo
(double ctrlPt1x, double ctrlPt1y, double ctrlPt2x, double ctrlPt2y, double endPtx, double endPty) final void
Overloaded function forcubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
.final void
final void
Overloaded function forcubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
.final void
Overloaded function forcubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
.final void
Overloaded function forcubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
.final void
Overloaded function forcubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
.final void
Overloaded function forcubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
.final void
Overloaded function forcubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
.final QPointF
final QPainterPath.Element
elementAt
(int i) final int
final boolean
equals
(QPainterPath other) 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
(QRect rect) Overloaded function forintersects(io.qt.core.QRectF)
.final boolean
intersects
(QRectF rect) final boolean
final boolean
isEmpty()
final double
length()
final void
lineTo
(double x, double y) final void
Overloaded function forlineTo(io.qt.core.QPointF)
.final void
final QPainterPath
minus
(QPainterPath other) final void
moveTo
(double x, double y) final void
Overloaded function formoveTo(io.qt.core.QPointF)
.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
Overloaded function forquadTo(io.qt.core.QPointF, io.qt.core.QPointF)
.final void
final void
Overloaded function forquadTo(io.qt.core.QPointF, io.qt.core.QPointF)
.final void
Overloaded function forquadTo(io.qt.core.QPointF, io.qt.core.QPointF)
.void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QPainterPath&) 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 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
Overloaded function fortranslate(io.qt.core.QPointF)
.final void
final QPainterPath
translated
(double dx, double dy) final QPainterPath
translated
(QPoint offset) Overloaded function fortranslated(io.qt.core.QPointF)
.final QPainterPath
translated
(QPointF offset) final QPainterPath
unite
(QPainterPath other) final QPainterPath
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QPainterPath) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPainterPath
public QPainterPath() -
QPainterPath
-
QPainterPath
-
QPainterPath
Overloaded constructor for
QPainterPath(io.qt.core.QPointF)
.
-
-
Method Details
-
addEllipse
-
addEllipse
-
addEllipse
-
addPath
-
addPolygon
-
addRect
-
addRect
-
addRegion
-
addRoundRect
-
addRoundRect
-
addRoundRect
@QtUninvokable public final void addRoundRect(double x, double y, double w, double h, int roundness) -
addRoundRect
@QtUninvokable public final void addRoundRect(double x, double y, double w, double h, int xRnd, int yRnd) -
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, 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
See
operator<<(QDataStream&,
QPainterPath) -
assign
-
equals
-
readFrom
See
operator>>(QDataStream&,
QPainterPath&) -
percentAtLength
-
pointAtPercent
-
quadTo
-
quadTo
@QtUninvokable public final void quadTo(double ctrlPtx, double ctrlPty, double endPtx, double endPty) -
reserve
-
setElementPositionAt
-
setFillRule
-
simplified
-
slopeAtPercent
-
subtracted
-
subtractedInverted
-
swap
-
toFillPolygon
-
toFillPolygons
-
toReversed
-
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.
-
addEllipse
Overloaded function for
addEllipse(io.qt.core.QPointF, double, double)
. -
addEllipse
Overloaded function for
addEllipse(io.qt.core.QRectF)
. -
addRect
Overloaded function for
addRect(io.qt.core.QRectF)
. -
addRegion
Overloaded function for
addRegion(io.qt.gui.QRegion)
. -
addRegion
Overloaded function for
addRegion(io.qt.gui.QRegion)
. -
addRegion
Overloaded function for
addRegion(io.qt.gui.QRegion)
. -
addRoundRect
Overloaded function for
addRoundRect(io.qt.core.QRectF, int)
. -
addRoundRect
Overloaded function for
addRoundRect(io.qt.core.QRectF, int, int)
. -
addRoundedRect
Overloaded function for
addRoundedRect(io.qt.core.QRectF, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
. -
addRoundedRect
Overloaded function for
addRoundedRect(io.qt.core.QRect, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
. -
addRoundedRect
@QtUninvokable public final void addRoundedRect(QRect rect, double xRadius, double yRadius, Qt.SizeMode mode) Overloaded function for
addRoundedRect(io.qt.core.QRectF, double, double, io.qt.core.Qt.SizeMode)
. -
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
. -
addText
Overloaded function for
addText(io.qt.core.QPointF, io.qt.gui.QFont, java.lang.String)
. -
addText
Overloaded function for
addText(io.qt.core.QPointF, io.qt.gui.QFont, java.lang.String)
. -
addText
Overloaded function for
addText(io.qt.core.QPointF, io.qt.gui.QFont, java.lang.String)
. -
addText
Overloaded function for
addText(double, double, io.qt.gui.QFont, java.lang.String)
. -
arcMoveTo
Overloaded function for
arcMoveTo(io.qt.core.QRectF, double)
. -
arcTo
Overloaded function for
arcTo(io.qt.core.QRectF, double, double)
. -
contains
Overloaded function for
contains(io.qt.core.QPointF)
. -
contains
Overloaded function for
contains(io.qt.core.QRectF)
. -
cubicTo
Overloaded function for
cubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
. -
cubicTo
Overloaded function for
cubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
. -
cubicTo
Overloaded function for
cubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
. -
cubicTo
Overloaded function for
cubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
. -
cubicTo
Overloaded function for
cubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
. -
cubicTo
Overloaded function for
cubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
. -
cubicTo
Overloaded function for
cubicTo(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF)
. -
intersects
Overloaded function for
intersects(io.qt.core.QRectF)
. -
lineTo
Overloaded function for
lineTo(io.qt.core.QPointF)
. -
moveTo
Overloaded function for
moveTo(io.qt.core.QPointF)
. -
quadTo
Overloaded function for
quadTo(io.qt.core.QPointF, io.qt.core.QPointF)
. -
quadTo
Overloaded function for
quadTo(io.qt.core.QPointF, io.qt.core.QPointF)
. -
quadTo
Overloaded function for
quadTo(io.qt.core.QPointF, io.qt.core.QPointF)
. -
toFillPolygon
Overloaded function for
toFillPolygon(io.qt.gui.QTransform)
withmatrix = new io.qt.gui.QTransform()
. -
toFillPolygons
Overloaded function for
toFillPolygons(io.qt.gui.QTransform)
withmatrix = new io.qt.gui.QTransform()
. -
toSubpathPolygons
Overloaded function for
toSubpathPolygons(io.qt.gui.QTransform)
withmatrix = new io.qt.gui.QTransform()
. -
translate
Overloaded function for
translate(io.qt.core.QPointF)
. -
translated
Overloaded function for
translated(io.qt.core.QPointF)
.
-