java.lang.Object
io.qt.internal.NativeUtility.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.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
-
type
The type of element
-
x
The x coordinate of the element's position
-
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
-