- 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
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 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
- Parameters:
other
-
-
QPainterPath
- Parameters:
startPoint
-
-
QPainterPath
Overloaded constructor for
QPainterPath(io.qt.core.QPointF)
.
-
-
Method Details
-
addEllipse
- Parameters:
center
-rx
-ry
-
-
addEllipse
- Parameters:
rect
-
-
addEllipse
- Parameters:
x
-y
-w
-h
-
-
addPath
- Parameters:
path
-
-
addPolygon
- Parameters:
polygon
-
-
addRect
- Parameters:
rect
-
-
addRect
- Parameters:
x
-y
-w
-h
-
-
addRegion
- Parameters:
region
-
-
addRoundedRect
@QtUninvokable public final void addRoundedRect(QRectF rect, double xRadius, double yRadius, Qt.SizeMode mode) - Parameters:
rect
-xRadius
-yRadius
-mode
-
-
addRoundedRect
@QtUninvokable public final void addRoundedRect(double x, double y, double w, double h, double xRadius, double yRadius, Qt.SizeMode mode) - Parameters:
x
-y
-w
-h
-xRadius
-yRadius
-mode
-
-
addText
- Parameters:
point
-f
-text
-
-
addText
- Parameters:
x
-y
-f
-text
-
-
angleAtPercent
- Parameters:
t
-- Returns:
-
arcMoveTo
- Parameters:
rect
-angle
-
-
arcMoveTo
- Parameters:
x
-y
-w
-h
-angle
-
-
arcTo
- Parameters:
rect
-startAngle
-arcLength
-
-
arcTo
@QtUninvokable public final void arcTo(double x, double y, double w, double h, double startAngle, double arcLength) - Parameters:
x
-y
-w
-h
-startAngle
-arcLength
-
-
boundingRect
- Returns:
-
capacity
- Returns:
-
clear
-
closeSubpath
-
connectPath
- Parameters:
path
-
-
contains
- Parameters:
p
-- Returns:
-
contains
- Parameters:
pt
-- Returns:
-
contains
- Parameters:
rect
-- Returns:
-
controlPointRect
- Returns:
-
cubicTo
- Parameters:
ctrlPt1
-ctrlPt2
-endPt
-
-
cubicTo
@QtUninvokable public final void cubicTo(double ctrlPt1x, double ctrlPt1y, double ctrlPt2x, double ctrlPt2y, double endPtx, double endPty) - Parameters:
ctrlPt1x
-ctrlPt1y
-ctrlPt2x
-ctrlPt2y
-endPtx
-endPty
-
-
currentPosition
- Returns:
-
elementAt
- Parameters:
i
-- Returns:
-
elementCount
- Returns:
-
fillRule
- Returns:
-
intersected
- Parameters:
r
-- Returns:
-
intersects
- Parameters:
p
-- Returns:
-
intersects
- Parameters:
rect
-- Returns:
-
isEmpty
- Returns:
-
length
- Returns:
-
lineTo
- Parameters:
p
-
-
lineTo
- Parameters:
x
-y
-
-
moveTo
- Parameters:
p
-
-
moveTo
- Parameters:
x
-y
-
-
intersect
- Parameters:
other
-
-
times
See
operator*(QPainterPath,
QTransform) - Parameters:
m
-- Returns:
-
plus
- Parameters:
other
-- Returns:
-
unite
- Parameters:
other
-- Returns:
-
minus
- Parameters:
other
-- Returns:
-
subtract
- Parameters:
other
-- Returns:
-
writeTo
See
operator<<(QDataStream&,
QPainterPath) - Parameters:
arg__1
-
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QPainterPath&) - Parameters:
arg__1
-
-
percentAtLength
- Parameters:
t
-- Returns:
-
pointAtPercent
- Parameters:
t
-- Returns:
-
quadTo
- Parameters:
ctrlPt
-endPt
-
-
quadTo
@QtUninvokable public final void quadTo(double ctrlPtx, double ctrlPty, double endPtx, double endPty) - Parameters:
ctrlPtx
-ctrlPty
-endPtx
-endPty
-
-
reserve
- Parameters:
size
-
-
setElementPositionAt
- Parameters:
i
-x
-y
-
-
setFillRule
- Parameters:
fillRule
-
-
simplified
- Returns:
-
slopeAtPercent
- Parameters:
t
-- Returns:
-
subtracted
- Parameters:
r
-- Returns:
-
swap
- Parameters:
other
-
-
toFillPolygon
- Parameters:
matrix
-- Returns:
-
toFillPolygons
- Parameters:
matrix
-- Returns:
-
toReversed
- Returns:
-
toSubpathPolygons
- Parameters:
matrix
-- Returns:
-
translate
- Parameters:
offset
-
-
translate
- Parameters:
dx
-dy
-
-
translated
- Parameters:
offset
-- Returns:
-
translated
- Parameters:
dx
-dy
-- Returns:
-
united
- Parameters:
r
-- Returns:
-
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)
. -
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)
.
-