java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPen
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines how a QPainter should draw lines and outlines of shapes
Java wrapper for Qt class QPen
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQPen()
See QPen::QPen()QPen
(Qt.PenStyle arg__1) QPen
(QBrush brush, double width, Qt.PenStyle s) QPen
(QBrush brush, double width, Qt.PenStyle s, Qt.PenCapStyle c) Overloaded constructor forQPen(io.qt.gui.QBrush, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
withj = io.qt.core.Qt.PenJoinStyle.BevelJoin
.QPen
(QBrush brush, double width, Qt.PenStyle s, Qt.PenCapStyle c, Qt.PenJoinStyle j) QPen
(QColor color, double width, Qt.PenStyle s) QPen
(QColor color, double width, Qt.PenStyle s, Qt.PenCapStyle c) QPen
(QColor color, double width, Qt.PenStyle s, Qt.PenCapStyle c, Qt.PenJoinStyle j) See QPen::QPen(QPen)protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QBrush
brush()
final Qt.PenCapStyle
capStyle()
clone()
final QColor
color()
final double
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final boolean
final boolean
final boolean
isSolid()
final Qt.PenJoinStyle
final double
void
readFrom
(QDataStream arg__1) final void
final void
final void
final void
setCosmetic
(boolean cosmetic) final void
setDashOffset
(double doffset) final void
setDashPattern
(Collection<Double> pattern) final void
final void
setMiterLimit
(double limit) final void
setStyle
(Qt.PenStyle arg__1) final void
setWidth
(int width) final void
setWidthF
(double width) final Qt.PenStyle
style()
final void
toString()
final int
width()
final double
widthF()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPen
public QPen()See QPen::QPen()
-
QPen
-
QPen
Overloaded constructor for
QPen(io.qt.gui.QBrush, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
withj = io.qt.core.Qt.PenJoinStyle.BevelJoin
. -
QPen
Overloaded constructor for
QPen(io.qt.gui.QBrush, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
with:
c = io.qt.core.Qt.PenCapStyle.SquareCap
j = io.qt.core.Qt.PenJoinStyle.BevelJoin
-
QPen
Overloaded constructor for
QPen(io.qt.gui.QBrush, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
with:
s = io.qt.core.Qt.PenStyle.SolidLine
c = io.qt.core.Qt.PenCapStyle.SquareCap
j = io.qt.core.Qt.PenJoinStyle.BevelJoin
-
QPen
-
QPen
-
QPen
See QPen::QPen(QPen)
-
QPen
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QPen
-
QPen
-
QPen
-
QPen
-
-
Method Details
-
brush
-
capStyle
-
color
-
dashOffset
-
dashPattern
-
isCosmetic
-
isDetached
-
isSolid
-
joinStyle
-
miterLimit
-
writeTo
-
readFrom
-
setBrush
-
setCapStyle
-
setColor
-
setCosmetic
-
setDashOffset
-
setDashPattern
-
setJoinStyle
-
setMiterLimit
-
setStyle
-
setWidth
-
setWidthF
-
style
-
swap
-
width
-
widthF
-
equals
Description copied from class:QtObject
Used 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
-