java.lang.Object
io.qt.QtObject
io.qt.gui.QPainterPath.Element
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QPainterPath
QPainterPath::Element class specifies the position and type of a subpath
Java wrapper for Qt class QPainterPath::Element
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.boolean
final QPainterPath.ElementType
getType()
Kotlin property getter.final double
getX()
Kotlin property getter.final double
getY()
Kotlin property getter.int
hashCode()
Returns the objects's hash code computed byqHash(QPainterPath::Element)
.final boolean
final boolean
isLineTo()
final boolean
isMoveTo()
final QPointF
toPoint()
final QPainterPath.ElementType
type()
The type of elementfinal double
x()
The x coordinate of the element's positionfinal double
y()
The y coordinate of the element's positionMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Element
public Element()See
QPainterPath::Element::
Element()
-
-
Method Details
-
isCurveTo
-
isLineTo
-
isMoveTo
-
toPoint
-
getType
Kotlin property getter. In Java use
type()
instead. -
type
The type of element
-
getX
Kotlin property getter. In Java use
x()
instead. -
x
The x coordinate of the element's position
-
getY
Kotlin property getter. In Java use
y()
instead. -
y
The y coordinate of the element's position
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QPainterPath::Element)
. -
clone
Creates and returns a copy of this object.
-