- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines how a QPainter should draw lines and outlines of shapes
Java wrapper for Qt class QPen
-
Constructor Summary
ConstructorDescriptionQPen()
SeeQPen::
QPen() QPen
(Qt.BrushStyle brush, double width) QPen
(Qt.BrushStyle brush, double width, Qt.PenStyle s) QPen
(Qt.BrushStyle brush, double width, Qt.PenStyle s, Qt.PenCapStyle c) Overloaded constructor forQPen(io.qt.core.Qt.BrushStyle, 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.BrushStyle 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.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)
.QPen
(QGradient brush, double width, Qt.PenStyle s) QPen
(QGradient brush, double width, Qt.PenStyle s, Qt.PenCapStyle c) Overloaded constructor forQPen(io.qt.gui.QGradient, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
withj = io.qt.core.Qt.PenJoinStyle.BevelJoin
.QPen
(QGradient 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
(QImage brush, double width, Qt.PenStyle s) QPen
(QImage brush, double width, Qt.PenStyle s, Qt.PenCapStyle c) Overloaded constructor forQPen(io.qt.gui.QImage, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
withj = io.qt.core.Qt.PenJoinStyle.BevelJoin
.QPen
(QImage 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) QPen
(QPixmap brush, double width, Qt.PenStyle s) QPen
(QPixmap brush, double width, Qt.PenStyle s, Qt.PenCapStyle c) Overloaded constructor forQPen(io.qt.gui.QPixmap, double, io.qt.core.Qt.PenStyle, io.qt.core.Qt.PenCapStyle, io.qt.core.Qt.PenJoinStyle)
withj = io.qt.core.Qt.PenJoinStyle.BevelJoin
.QPen
(QPixmap 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)
.Overloaded constructor forQPen(io.qt.gui.QColor)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(Qt.PenStyle pen) Overloaded function forassign(io.qt.gui.QPen)
.final void
Overloaded function forassign(io.qt.gui.QPen)
.final 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> final boolean
Overloaded function forequals(io.qt.gui.QPen)
.final boolean
Overloaded function forequals(io.qt.gui.QPen)
.final boolean
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
setBrush
(Qt.BrushStyle brush) Overloaded function forsetBrush(io.qt.gui.QBrush)
.final void
setBrush
(Qt.GlobalColor brush) Overloaded function forsetBrush(io.qt.gui.QBrush)
.final void
final void
Overloaded function forsetBrush(io.qt.gui.QBrush)
.final void
Overloaded function forsetBrush(io.qt.gui.QBrush)
.final void
Overloaded function forsetBrush(io.qt.gui.QBrush)
.final void
Overloaded function forsetBrush(io.qt.gui.QBrush)
.final void
final void
setColor
(Qt.GlobalColor color) Overloaded function forsetColor(io.qt.gui.QColor)
.final void
final void
Overloaded function forsetColor(io.qt.gui.QColor)
.final void
Overloaded function forsetColor(io.qt.gui.QColor)
.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
See
QPen::
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.core.Qt.BrushStyle, 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.BrushStyle, 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.BrushStyle, 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, 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.QPixmap, 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.QPixmap, 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.QPixmap, 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.QImage, 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.QImage, 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.QImage, 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.QGradient, 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.QGradient, 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.QGradient, 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)
. -
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
-
equals
-
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.
See
QPen::
QPen(QPen) -
assign
Overloaded function for
assign(io.qt.gui.QPen)
. -
assign
Overloaded function for
assign(io.qt.gui.QPen)
. -
equals
Overloaded function for
equals(io.qt.gui.QPen)
. -
equals
Overloaded function for
equals(io.qt.gui.QPen)
. -
setBrush
Overloaded function for
setBrush(io.qt.gui.QBrush)
. -
setBrush
Overloaded function for
setBrush(io.qt.gui.QBrush)
. -
setBrush
Overloaded function for
setBrush(io.qt.gui.QBrush)
. -
setBrush
Overloaded function for
setBrush(io.qt.gui.QBrush)
. -
setBrush
Overloaded function for
setBrush(io.qt.gui.QBrush)
. -
setBrush
Overloaded function for
setBrush(io.qt.gui.QBrush)
. -
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
. -
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
. -
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
.
-