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's class QPainterPath::Element
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QPainterPath.ElementType
getType()
Kotlin property getter.final double
getX()
Kotlin property getter.final double
getY()
Kotlin property getter.int
hashCode()
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() -
Element
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
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
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-