- 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
Nested ClassesModifier and TypeClassDescriptionstatic classQPainterPath::Element class specifies the position and type of a subpathstatic enumJava wrapper for Qt enum QPainterPath::ElementTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQPainterPath(QPointF startPoint) QPainterPath(QPainterPath other) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddEllipse(double x, double y, double w, double h) final voidaddEllipse(QPointF center, double rx, double ry) final voidaddEllipse(QRectF rect) final voidaddPath(QPainterPath path) final voidaddPolygon(QPolygonF polygon) final voidaddRect(double x, double y, double w, double h) final voidfinal voidfinal voidaddRoundedRect(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 voidaddRoundedRect(double x, double y, double w, double h, double xRadius, double yRadius, Qt.SizeMode mode) final voidaddRoundedRect(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 voidaddRoundedRect(QRectF rect, double xRadius, double yRadius, Qt.SizeMode mode) final voidfinal voidfinal doubleangleAtPercent(double t) final voidarcMoveTo(double x, double y, double w, double h, double angle) final voidfinal voidarcTo(double x, double y, double w, double h, double startAngle, double arcLength) final voidfinal QRectFfinal intcapacity()final voidclear()clone()final voidfinal voidconnectPath(QPainterPath path) final booleanfinal booleanfinal booleanfinal QRectFfinal voidcubicTo(double ctrlPt1x, double ctrlPt1y, double ctrlPt2x, double ctrlPt2y, double endPtx, double endPty) final voidfinal QPointFfinal QPainterPath.ElementelementAt(int i) final intbooleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final Qt.FillRulefillRule()inthashCode()final voidintersect(QPainterPath other) final QPainterPathfinal booleanintersects(QRectF rect) final booleanfinal booleanisEmpty()final doublelength()final voidlineTo(double x, double y) final voidfinal QPainterPathminus(QPainterPath other) final voidmoveTo(double x, double y) final voidfinal doublepercentAtLength(double t) final QPainterPathplus(QPainterPath other) final QPointFpointAtPercent(double t) final voidquadTo(double ctrlPtx, double ctrlPty, double endPtx, double endPty) final voidvoidreadFrom(QDataStream arg__1) final voidreserve(int size) final voidsetElementPositionAt(int i, double x, double y) final voidsetFillRule(Qt.FillRule fillRule) final QPainterPathfinal doubleslopeAtPercent(double t) final voidsubtract(QPainterPath other) final QPainterPathfinal voidswap(QPainterPath other) final QPolygonFOverloaded function fortoFillPolygon(io.qt.gui.QTransform)withmatrix = new io.qt.gui.QTransform().final QPolygonFtoFillPolygon(QTransform matrix) Overloaded function fortoFillPolygons(io.qt.gui.QTransform)withmatrix = new io.qt.gui.QTransform().toFillPolygons(QTransform matrix) final QPainterPathtoString()Overloaded function fortoSubpathPolygons(io.qt.gui.QTransform)withmatrix = new io.qt.gui.QTransform().toSubpathPolygons(QTransform matrix) final voidtranslate(double dx, double dy) final voidfinal QPainterPathtranslated(double dx, double dy) final QPainterPathtranslated(QPointF offset) final voidunite(QPainterPath other) final QPainterPathvoidwriteTo(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
-
plus
-
unite
-
minus
-
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:QtObjectUsed 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
-