- 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
ConstructorDescriptionQPen()
SeeQPen::
QPen() QPen
(Qt.GlobalColor color) Overloaded constructor forQPen(io.qt.gui.QColor)
.QPen
(Qt.GlobalColor brush, double width) QPen
(Qt.GlobalColor brush, double width, Qt.PenStyle s) QPen
(Qt.GlobalColor brush, double width, Qt.PenStyle s, Qt.PenCapStyle c) Overloaded constructor forQPen(io.qt.core.Qt.GlobalColor, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
withj = io.qt.core.Qt.PenJoinStyle.BevelJoin
.QPen
(Qt.GlobalColor brush, double width, Qt.PenStyle s, Qt.PenCapStyle c, Qt.PenJoinStyle j) Overloaded constructor forQPen(io.qt.gui.QBrush, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
.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 brush, double width, Qt.PenStyle s) QPen
(QColor brush, double width, Qt.PenStyle s, Qt.PenCapStyle c) Overloaded constructor forQPen(io.qt.gui.QColor, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
withj = io.qt.core.Qt.PenJoinStyle.BevelJoin
.QPen
(QColor brush, double width, Qt.PenStyle s, Qt.PenCapStyle c, Qt.PenJoinStyle j) Overloaded constructor forQPen(io.qt.gui.QBrush, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
.SeeQPen::
QPen(QPen) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QBrush
brush()
final Qt.PenCapStyle
capStyle()
clone()
Creates and returns a copy of this object.final QColor
color()
final double
final QList<@QtPrimitiveType Double>
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QPen)
.final boolean
final boolean
SeeQPen::
isDetached() 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<@QtPrimitiveType 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()
Seeoperator<<(QDebug,
QPen) 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
-
QPen
-
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
Overloaded constructor for
QPen(io.qt.gui.QColor, 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.QColor, 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.QColor, 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
Overloaded constructor for
QPen(io.qt.gui.QBrush, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
. -
QPen
Overloaded constructor for
QPen(io.qt.core.Qt.GlobalColor, 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.core.Qt.GlobalColor, 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.core.Qt.GlobalColor, 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
Overloaded constructor for
QPen(io.qt.gui.QBrush, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
. -
QPen
Overloaded constructor for
QPen(io.qt.gui.QColor)
.
-
-
Method Details
-
brush
-
capStyle
-
color
-
dashOffset
-
dashPattern
-
isCosmetic
-
isDetached
See
QPen::
isDetached() -
isSolid
-
joinStyle
-
miterLimit
-
writeTo
-
assign
-
readFrom
-
setBrush
-
setCapStyle
-
setColor
-
setCosmetic
-
setDashOffset
-
setDashPattern
-
setJoinStyle
-
setMiterLimit
-
setStyle
-
setWidth
-
setWidthF
-
style
-
swap
-
width
-
widthF
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QPen)
. -
toString
See
operator<<(QDebug,
QPen) -
clone
Creates and returns a copy of this object.
-