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
-
Constructor Summary
ConstructorDescriptionElement()
SeeQPainterPath::Element::
Element() Element
(double x, double y, QPainterPath.ElementType type) SeeQPainterPath::Element::
Element{qreal, qreal, QPainterPath::ElementType} Element
(QPainterPath.Element other) SeeQPainterPath::Element::
Element(QPainterPath::Element) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
boolean
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() -
Element
See
QPainterPath::Element::
Element(QPainterPath::Element) - Parameters:
other
-
-
Element
See
QPainterPath::Element::
Element{qreal, qreal, QPainterPath::ElementType} - Parameters:
x
-y
-type
-
-
-
Method Details
-
isCurveTo
- Returns:
-
isLineTo
- Returns:
-
isMoveTo
- Returns:
-
toPoint
- Returns:
-
equals
- Parameters:
e
-- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
type
The type of element
- Returns:
-
x
The x coordinate of the element's position
- Returns:
-
y
The y coordinate of the element's position
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QPainterPath::Element)
. -
clone
Creates and returns a copy of this object.
See
QPainterPath::Element::
Element(QPainterPath::Element)
-