- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QStylePainter
Performs low-level painting on widgets and other paint devices
Java wrapper for Qt class QPainter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQPainter::CompositionMode
static class
This class is used in conjunction with the QPainter::drawPixmapFragments() function to specify how a pixmap, or sub-rect of a pixmap, is drawnstatic enum
Java wrapper for Qt enumQPainter::PixmapFragmentHint
static final class
QFlags
type for enumQPainter.PixmapFragmentHint
static enum
Java wrapper for Qt enumQPainter::RenderHint
static final class
QFlags
type for enumQPainter.RenderHint
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QBrush
final Qt.BGMode
final boolean
begin
(QPaintDevice arg__1) final void
final QRect
boundingRect
(int x, int y, int w, int h, int flags, String text) final QRectF
boundingRect
(QRectF rect, int flags, String text) final QRectF
boundingRect
(QRectF rect, String text) Overloaded function forboundingRect(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
witho = new io.qt.gui.QTextOption()
.final QRectF
boundingRect
(QRectF rect, String text, Qt.Alignment o) Overloaded function forboundingRect(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
.final QRectF
boundingRect
(QRectF rect, String text, QTextOption o) final QRect
boundingRect
(QRect rect, int flags, String text) final QRectF
boundingRect
(QRect rect, String text) Overloaded function forboundingRect(io.qt.core.QRect, java.lang.String, io.qt.gui.QTextOption)
witho = new io.qt.gui.QTextOption()
.final QRectF
boundingRect
(QRect rect, String text, Qt.Alignment o) Overloaded function forboundingRect(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
.final QRectF
boundingRect
(QRect rect, String text, QTextOption o) Overloaded function forboundingRect(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
.final QBrush
brush()
final QPoint
final QRectF
final QPainterPath
clipPath()
final QRegion
final QTransform
final QPainter.CompositionMode
final QPaintDevice
device()
final QTransform
final void
drawArc
(int x, int y, int w, int h, int a, int alen) final void
final void
final void
drawChord
(int x, int y, int w, int h, int a, int alen) final void
final void
final void
drawConvexPolygon
(QPoint... points) final void
drawConvexPolygon
(QPointF... points) final void
drawConvexPolygon
(QPolygon polygon) final void
drawConvexPolygon
(QPolygonF polygon) final void
drawEllipse
(int x, int y, int w, int h) final void
drawEllipse
(QPointF center, double rx, double ry) final void
drawEllipse
(QPoint center, double rx, double ry) Overloaded function fordrawEllipse(io.qt.core.QPointF, double, double)
.final void
drawEllipse
(QPoint center, int rx, int ry) final void
drawEllipse
(QRect r) final void
final void
drawGlyphRun
(QPointF position, QGlyphRun glyphRun) final void
drawGlyphRun
(QPoint position, QGlyphRun glyphRun) Overloaded function fordrawGlyphRun(io.qt.core.QPointF, io.qt.gui.QGlyphRun)
.final void
Overloaded function fordrawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
final void
Overloaded function fordrawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
final void
Overloaded function fordrawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
final void
Overloaded function fordrawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
final void
Overloaded function fordrawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
withflags = new io.qt.core.Qt.ImageConversionFlags(0)
.final void
drawImage
(int x, int y, QImage image, int sx, int sy, int sw, int sh, Qt.ImageConversionFlag ... flags) Overloaded function fordrawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
.final void
drawImage
(int x, int y, QImage image, int sx, int sy, int sw, int sh, Qt.ImageConversionFlags flags) final void
final void
Overloaded function fordrawImage(io.qt.core.QPointF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)
withflags = new io.qt.core.Qt.ImageConversionFlags(0)
.final void
drawImage
(QPointF p, QImage image, QRectF sr, Qt.ImageConversionFlag ... flags) final void
drawImage
(QPointF p, QImage image, QRectF sr, Qt.ImageConversionFlags flags) final void
final void
Overloaded function fordrawImage(io.qt.core.QPoint, io.qt.gui.QImage, io.qt.core.QRect, io.qt.core.Qt.ImageConversionFlags)
withflags = new io.qt.core.Qt.ImageConversionFlags(0)
.final void
drawImage
(QPoint p, QImage image, QRect sr, Qt.ImageConversionFlag ... flags) Overloaded function fordrawImage(io.qt.core.QPoint, io.qt.gui.QImage, io.qt.core.QRect, io.qt.core.Qt.ImageConversionFlags)
.final void
drawImage
(QPoint p, QImage image, QRect sr, Qt.ImageConversionFlags flags) final void
final void
Overloaded function fordrawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)
withflags = new io.qt.core.Qt.ImageConversionFlags(0)
.final void
drawImage
(QRectF targetRect, QImage image, QRectF sourceRect, Qt.ImageConversionFlag ... flags) final void
drawImage
(QRectF targetRect, QImage image, QRectF sourceRect, Qt.ImageConversionFlags flags) final void
final void
Overloaded function fordrawImage(io.qt.core.QRect, io.qt.gui.QImage, io.qt.core.QRect, io.qt.core.Qt.ImageConversionFlags)
withflags = new io.qt.core.Qt.ImageConversionFlags(0)
.final void
drawImage
(QRect targetRect, QImage image, QRect sourceRect, Qt.ImageConversionFlag ... flags) Overloaded function fordrawImage(io.qt.core.QRect, io.qt.gui.QImage, io.qt.core.QRect, io.qt.core.Qt.ImageConversionFlags)
.final void
drawImage
(QRect targetRect, QImage image, QRect sourceRect, Qt.ImageConversionFlags flags) final void
drawLine
(int x1, int y1, int x2, int y2) final void
final void
final void
Overloaded function fordrawLine(io.qt.core.QPointF, io.qt.core.QPointF)
.final void
final void
final void
Overloaded function fordrawLine(io.qt.core.QPointF, io.qt.core.QPointF)
.final void
final void
final void
final void
final void
drawLines
(Collection<? extends QLine> lines) final void
drawLinesF
(Collection<? extends QLineF> lines) final void
drawLinesFromPoints
(Collection<? extends QPoint> pointPairs) final void
drawLinesFromPointsF
(Collection<? extends QPointF> pointPairs) final void
drawPath
(QPainterPath path) final void
drawPicture
(int x, int y, QPicture picture) final void
drawPicture
(QPointF p, QPicture picture) final void
drawPicture
(QPoint p, QPicture picture) final void
drawPie
(int x, int y, int w, int h, int a, int alen) final void
final void
final void
drawPixmap
(int x, int y, int w, int h, QPixmap pm) final void
drawPixmap
(int x, int y, int w, int h, QPixmap pm, int sx, int sy, int sw, int sh) final void
drawPixmap
(int x, int y, QPixmap pm) final void
drawPixmap
(int x, int y, QPixmap pm, int sx, int sy, int sw, int sh) final void
drawPixmap
(QPointF p, QPixmap pm) final void
drawPixmap
(QPointF p, QPixmap pm, QRect sr) Overloaded function fordrawPixmap(io.qt.core.QPointF, io.qt.gui.QPixmap, io.qt.core.QRectF)
.final void
drawPixmap
(QPointF p, QPixmap pm, QRectF sr) final void
drawPixmap
(QPoint p, QPixmap pm) final void
drawPixmap
(QPoint p, QPixmap pm, QRect sr) final void
drawPixmap
(QPoint p, QPixmap pm, QRectF sr) Overloaded function fordrawPixmap(io.qt.core.QPointF, io.qt.gui.QPixmap, io.qt.core.QRectF)
.final void
drawPixmap
(QRectF targetRect, QPixmap pixmap, QRect sourceRect) Overloaded function fordrawPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QRectF)
.final void
drawPixmap
(QRectF targetRect, QPixmap pixmap, QRectF sourceRect) final void
drawPixmap
(QRect r, QPixmap pm) final void
drawPixmap
(QRect targetRect, QPixmap pixmap, QRect sourceRect) final void
drawPixmap
(QRect targetRect, QPixmap pixmap, QRectF sourceRect) Overloaded function fordrawPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QRectF)
.final void
drawPixmapFragments
(QPainter.PixmapFragment[] fragments, QPixmap pixmap) Overloaded function fordrawPixmapFragments(io.qt.gui.QPainter.PixmapFragment[], io.qt.gui.QPixmap, io.qt.gui.QPainter.PixmapFragmentHints)
withhints = new io.qt.gui.QPainter.PixmapFragmentHints(0)
.final void
drawPixmapFragments
(QPainter.PixmapFragment[] fragments, QPixmap pixmap, QPainter.PixmapFragmentHint ... hints) final void
drawPixmapFragments
(QPainter.PixmapFragment[] fragments, QPixmap pixmap, QPainter.PixmapFragmentHints hints) final void
drawPoint
(int x, int y) final void
final void
final void
drawPoints
(QPoint... points) final void
drawPoints
(QPointF... points) final void
drawPoints
(QPolygon points) final void
drawPoints
(QPolygonF points) final void
drawPolygon
(QPoint... points) Overloaded function fordrawPolygon(io.qt.core.QPoint[], io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
.final void
drawPolygon
(QPoint[] points, Qt.FillRule fillRule) final void
drawPolygon
(QPointF... points) Overloaded function fordrawPolygon(io.qt.core.QPointF[], io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
.final void
drawPolygon
(QPointF[] points, Qt.FillRule fillRule) final void
drawPolygon
(QPolygon polygon) Overloaded function fordrawPolygon(io.qt.gui.QPolygon, io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
.final void
drawPolygon
(QPolygonF polygon) Overloaded function fordrawPolygon(io.qt.gui.QPolygonF, io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
.final void
drawPolygon
(QPolygonF polygon, Qt.FillRule fillRule) final void
drawPolygon
(QPolygon polygon, Qt.FillRule fillRule) final void
drawPolyline
(QPoint... points) final void
drawPolyline
(QPointF... points) final void
drawPolyline
(QPolygon polygon) final void
drawPolyline
(QPolygonF polyline) final void
drawRect
(int x1, int y1, int w, int h) final void
final void
final void
final void
final void
drawRects
(Collection<? extends QRect> rectangles) final void
drawRectsF
(Collection<? extends QRectF> rectangles) final void
drawRoundedRect
(int x, int y, int w, int h, double xRadius, double yRadius) Overloaded function fordrawRoundedRect(int, int, int, int, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
.final void
drawRoundedRect
(int x, int y, int w, int h, double xRadius, double yRadius, Qt.SizeMode mode) final void
drawRoundedRect
(QRectF rect, double xRadius, double yRadius) Overloaded function fordrawRoundedRect(io.qt.core.QRectF, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
.final void
drawRoundedRect
(QRectF rect, double xRadius, double yRadius, Qt.SizeMode mode) final void
drawRoundedRect
(QRect rect, double xRadius, double yRadius) Overloaded function fordrawRoundedRect(io.qt.core.QRect, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
.final void
drawRoundedRect
(QRect rect, double xRadius, double yRadius, Qt.SizeMode mode) final void
drawStaticText
(int left, int top, QStaticText staticText) final void
drawStaticText
(QPointF topLeftPosition, QStaticText staticText) final void
drawStaticText
(QPoint topLeftPosition, QStaticText staticText) final void
Overloaded function fordrawText(int, int, int, int, int, java.lang.String, io.qt.core.QRect)
withbr = null
.final void
final void
final void
final void
final void
Overloaded function fordrawText(io.qt.core.QRectF, int, java.lang.String, io.qt.core.QRectF)
withbr = null
.final void
final void
Overloaded function fordrawText(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
witho = new io.qt.gui.QTextOption()
.final void
drawText
(QRectF r, String text, Qt.Alignment o) Overloaded function fordrawText(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
.final void
drawText
(QRectF r, String text, QTextOption o) final void
Overloaded function fordrawText(io.qt.core.QRect, int, java.lang.String, io.qt.core.QRect)
withbr = null
.final void
final void
Overloaded function fordrawText(io.qt.core.QRect, java.lang.String, io.qt.gui.QTextOption)
witho = new io.qt.gui.QTextOption()
.final void
drawText
(QRect r, String text, Qt.Alignment o) Overloaded function fordrawText(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
.final void
drawText
(QRect r, String text, QTextOption o) Overloaded function fordrawText(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
.final void
drawTextItem
(int x, int y, QTextItem ti) SeeQPainter::
drawTextItem(int, int, QTextItem) final void
drawTextItem
(QPointF p, QTextItem ti) SeeQPainter::
drawTextItem(QPointF, QTextItem) final void
drawTextItem
(QPoint p, QTextItem ti) SeeQPainter::
drawTextItem(QPoint, QTextItem) final void
drawTiledPixmap
(int x, int y, int w, int h, QPixmap arg__5) Overloaded function fordrawTiledPixmap(int, int, int, int, io.qt.gui.QPixmap, int, int)
final void
drawTiledPixmap
(int x, int y, int w, int h, QPixmap arg__5, int sx) Overloaded function fordrawTiledPixmap(int, int, int, int, io.qt.gui.QPixmap, int, int)
withsy = 0
.final void
drawTiledPixmap
(int x, int y, int w, int h, QPixmap arg__5, int sx, int sy) final void
drawTiledPixmap
(QRectF rect, QPixmap pm) Overloaded function fordrawTiledPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QPointF)
withoffset = new io.qt.core.QPointF()
.final void
drawTiledPixmap
(QRectF rect, QPixmap pm, QPointF offset) final void
drawTiledPixmap
(QRect arg__1, QPixmap arg__2) Overloaded function fordrawTiledPixmap(io.qt.core.QRect, io.qt.gui.QPixmap, io.qt.core.QPoint)
witharg__3 = new io.qt.core.QPoint()
.final void
drawTiledPixmap
(QRect arg__1, QPixmap arg__2, QPoint arg__3) final boolean
end()
SeeQPainter::
end() final void
final void
eraseRect
(int x, int y, int w, int h) final void
final void
final void
fillPath
(QPainterPath path, Qt.BrushStyle brush) Overloaded function forfillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
.final void
fillPath
(QPainterPath path, Qt.GlobalColor brush) Overloaded function forfillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
.final void
fillPath
(QPainterPath path, QBrush brush) final void
fillPath
(QPainterPath path, QColor brush) Overloaded function forfillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
.final void
fillPath
(QPainterPath path, QGradient brush) Overloaded function forfillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
.final void
fillPath
(QPainterPath path, QImage brush) Overloaded function forfillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
.final void
fillPath
(QPainterPath path, QPixmap brush) Overloaded function forfillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
.final void
fillRect
(int x, int y, int w, int h, Qt.BrushStyle style) final void
fillRect
(int x, int y, int w, int h, Qt.GlobalColor c) final void
final void
final void
Overloaded function forfillRect(int, int, int, int, io.qt.gui.QBrush)
.final void
Overloaded function forfillRect(int, int, int, int, io.qt.gui.QBrush)
.final void
Overloaded function forfillRect(int, int, int, int, io.qt.gui.QBrush)
.final void
Overloaded function forfillRect(int, int, int, int, io.qt.gui.QColor)
.final void
fillRect
(int x, int y, int w, int h, QGradient.Preset preset) final void
Overloaded function forfillRect(int, int, int, int, io.qt.gui.QColor)
.final void
fillRect
(QRectF r, Qt.BrushStyle style) final void
fillRect
(QRectF r, Qt.GlobalColor c) final void
final void
final void
fillRect
(QRectF r, QGradient.Preset preset) final void
fillRect
(QRect r, Qt.BrushStyle style) final void
fillRect
(QRect r, Qt.GlobalColor c) final void
final void
final void
Overloaded function forfillRect(io.qt.core.QRect, io.qt.gui.QBrush)
.final void
Overloaded function forfillRect(io.qt.core.QRect, io.qt.gui.QBrush)
.final void
Overloaded function forfillRect(io.qt.core.QRect, io.qt.gui.QBrush)
.final void
Overloaded function forfillRect(io.qt.core.QRect, io.qt.gui.QColor)
.final void
fillRect
(QRect r, QGradient.Preset preset) final void
Overloaded function forfillRect(io.qt.core.QRect, io.qt.gui.QColor)
.final QFont
font()
final QFontInfo
fontInfo()
final QFontMetrics
final boolean
final boolean
isActive()
final Qt.LayoutDirection
final double
opacity()
final QPaintEngine
final QPen
pen()
final QPainter.RenderHints
final void
final void
restore()
final void
rotate
(double a) final void
save()
SeeQPainter::
save() final void
scale
(double sx, double sy) final void
Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QBrush bg) final void
setBackground
(QColor bg) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QImage bg) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QPixmap bg) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackgroundMode
(Qt.BGMode mode) final void
setBrush
(Qt.BrushStyle style) 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
setBrushOrigin
(int x, int y) final void
setBrushOrigin
(QPoint arg__1) final void
setBrushOrigin
(QPointF arg__1) final void
setClipPath
(QPainterPath path) Overloaded function forsetClipPath(io.qt.gui.QPainterPath, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
.final void
setClipPath
(QPainterPath path, Qt.ClipOperation op) final void
setClipping
(boolean enable) final void
setClipRect
(int x, int y, int w, int h) Overloaded function forsetClipRect(int, int, int, int, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
.final void
setClipRect
(int x, int y, int w, int h, Qt.ClipOperation op) final void
setClipRect
(QRect arg__1) Overloaded function forsetClipRect(io.qt.core.QRect, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
.final void
setClipRect
(QRectF arg__1) Overloaded function forsetClipRect(io.qt.core.QRectF, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
.final void
setClipRect
(QRectF arg__1, Qt.ClipOperation op) final void
setClipRect
(QRect arg__1, Qt.ClipOperation op) final void
setClipRegion
(QRect arg__1) Overloaded function forsetClipRegion(io.qt.core.QRect, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
.final void
setClipRegion
(QRect arg__1, Qt.ClipOperation op) Overloaded function forsetClipRegion(io.qt.gui.QRegion, io.qt.core.Qt.ClipOperation)
.final void
setClipRegion
(QBitmap arg__1) Overloaded function forsetClipRegion(io.qt.gui.QBitmap, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
.final void
setClipRegion
(QBitmap arg__1, Qt.ClipOperation op) Overloaded function forsetClipRegion(io.qt.gui.QRegion, io.qt.core.Qt.ClipOperation)
.final void
setClipRegion
(QPolygon arg__1) Overloaded function forsetClipRegion(io.qt.gui.QPolygon, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
.final void
setClipRegion
(QPolygon arg__1, Qt.ClipOperation op) Overloaded function forsetClipRegion(io.qt.gui.QRegion, io.qt.core.Qt.ClipOperation)
.final void
setClipRegion
(QRegion arg__1) Overloaded function forsetClipRegion(io.qt.gui.QRegion, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
.final void
setClipRegion
(QRegion arg__1, Qt.ClipOperation op) final void
final void
final void
Overloaded function forsetFont(io.qt.gui.QFont)
.final void
setLayoutDirection
(Qt.LayoutDirection direction) final void
setOpacity
(double opacity) final void
setPen
(Qt.GlobalColor color) Overloaded function forsetPen(io.qt.gui.QColor)
.final void
setPen
(Qt.PenStyle style) final void
final void
final void
Overloaded function forsetPen(io.qt.gui.QColor)
.final void
Overloaded function forsetPen(io.qt.gui.QColor)
.final void
Overloaded function forsetRenderHint(io.qt.gui.QPainter.RenderHint, boolean)
withon = true
.final void
setRenderHint
(QPainter.RenderHint hint, boolean on) final void
Overloaded function forsetRenderHints(io.qt.gui.QPainter.RenderHints, boolean)
withon = true
.final void
setRenderHints
(QPainter.RenderHints hints, boolean on) final void
setTransform
(QTransform transform) Overloaded function forsetTransform(io.qt.gui.QTransform, boolean)
withcombine = false
.final void
setTransform
(QTransform transform, boolean combine) final void
setViewport
(int x, int y, int w, int h) final void
setViewport
(QRect viewport) final void
setViewTransformEnabled
(boolean enable) final void
setWindow
(int x, int y, int w, int h) final void
final void
setWorldMatrixEnabled
(boolean enabled) final void
setWorldTransform
(QTransform matrix) Overloaded function forsetWorldTransform(io.qt.gui.QTransform, boolean)
withcombine = false
.final void
setWorldTransform
(QTransform matrix, boolean combine) final void
shear
(double sh, double sv) final void
strokePath
(QPainterPath path, Qt.PenStyle pen) Overloaded function forstrokePath(io.qt.gui.QPainterPath, io.qt.gui.QPen)
.final void
strokePath
(QPainterPath path, QColor pen) Overloaded function forstrokePath(io.qt.gui.QPainterPath, io.qt.gui.QPen)
.final void
strokePath
(QPainterPath path, QPen pen) final boolean
final QTransform
final void
translate
(double dx, double dy) final void
final void
final QRect
viewport()
final boolean
final QRect
window()
final boolean
final QTransform
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QPainter
public QPainter() -
QPainter
-
-
Method Details
-
background
-
backgroundMode
-
begin
-
beginNativePainting
-
boundingRect
-
boundingRect
-
boundingRect
-
boundingRect
-
brush
-
brushOrigin
-
clipBoundingRect
-
clipPath
-
clipRegion
-
combinedTransform
-
compositionMode
-
device
-
deviceTransform
-
drawArc
-
drawArc
-
drawArc
-
drawChord
-
drawChord
-
drawChord
-
drawConvexPolygon
-
drawConvexPolygon
-
drawConvexPolygon
-
drawConvexPolygon
-
drawEllipse
-
drawEllipse
-
drawEllipse
-
drawEllipse
-
drawEllipse
-
drawGlyphRun
-
drawImage
-
drawImage
@QtUninvokable public final void drawImage(QPoint p, QImage image, QRect sr, Qt.ImageConversionFlags flags) -
drawImage
-
drawImage
@QtUninvokable public final void drawImage(QPointF p, QImage image, QRectF sr, Qt.ImageConversionFlags flags) -
drawImage
-
drawImage
@QtUninvokable public final void drawImage(QRect targetRect, QImage image, QRect sourceRect, Qt.ImageConversionFlags flags) -
drawImage
-
drawImage
@QtUninvokable public final void drawImage(QRectF targetRect, QImage image, QRectF sourceRect, Qt.ImageConversionFlags flags) -
drawImage
@QtUninvokable public final void drawImage(int x, int y, QImage image, int sx, int sy, int sw, int sh, Qt.ImageConversionFlags flags) -
drawLine
-
drawLine
-
drawLine
-
drawLine
-
drawLine
-
drawLines
-
drawLinesF
-
drawLinesFromPoints
-
drawLinesFromPointsF
-
drawLines
-
drawLines
-
drawLines
-
drawLines
-
drawPath
-
drawPicture
-
drawPicture
-
drawPicture
-
drawPie
-
drawPie
-
drawPie
-
drawPixmap
-
drawPixmap
-
drawPixmap
-
drawPixmap
-
drawPixmap
-
drawPixmap
-
drawPixmap
-
drawPixmap
-
drawPixmap
@QtUninvokable public final void drawPixmap(int x, int y, QPixmap pm, int sx, int sy, int sw, int sh) -
drawPixmap
-
drawPixmap
@QtUninvokable public final void drawPixmap(int x, int y, int w, int h, QPixmap pm, int sx, int sy, int sw, int sh) -
drawPixmapFragments
@QtUninvokable public final void drawPixmapFragments(QPainter.PixmapFragment[] fragments, QPixmap pixmap, QPainter.PixmapFragmentHints hints) -
drawPoint
-
drawPoint
-
drawPoint
-
drawPoints
-
drawPoints
-
drawPoints
-
drawPoints
-
drawPolygon
-
drawPolygon
-
drawPolygon
-
drawPolygon
-
drawPolyline
-
drawPolyline
-
drawPolyline
-
drawPolyline
-
drawRect
-
drawRect
-
drawRect
-
drawRects
-
drawRectsF
-
drawRects
-
drawRects
-
drawRoundedRect
@QtUninvokable public final void drawRoundedRect(QRect rect, double xRadius, double yRadius, Qt.SizeMode mode) -
drawRoundedRect
@QtUninvokable public final void drawRoundedRect(QRectF rect, double xRadius, double yRadius, Qt.SizeMode mode) -
drawRoundedRect
@QtUninvokable public final void drawRoundedRect(int x, int y, int w, int h, double xRadius, double yRadius, Qt.SizeMode mode) -
drawStaticText
-
drawStaticText
-
drawStaticText
-
drawText
-
drawText
-
drawText
-
drawText
-
drawText
-
drawText
-
drawText
@QtUninvokable public final void drawText(int x, int y, int w, int h, int flags, String text, QRect br) -
drawTextItem
See
QPainter::
drawTextItem(QPoint, QTextItem) -
drawTextItem
See
QPainter::
drawTextItem(QPointF, QTextItem) -
drawTextItem
See
QPainter::
drawTextItem(int, int, QTextItem) -
drawTiledPixmap
-
drawTiledPixmap
-
drawTiledPixmap
@QtUninvokable public final void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg__5, int sx, int sy) -
end
See
QPainter::
end() -
endNativePainting
-
eraseRect
-
eraseRect
-
eraseRect
-
fillPath
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
fillRect
-
font
-
fontInfo
-
fontMetrics
-
hasClipping
-
isActive
-
layoutDirection
-
opacity
-
paintEngine
-
pen
-
renderHints
-
resetTransform
-
restore
-
rotate
-
save
See
QPainter::
save() -
scale
-
setBackground
-
setBackgroundMode
-
setBrush
-
setBrush
-
setBrushOrigin
-
setBrushOrigin
-
setBrushOrigin
-
setClipPath
-
setClipRect
-
setClipRect
-
setClipRect
-
setClipRegion
-
setClipping
-
setCompositionMode
-
setFont
-
setLayoutDirection
-
setOpacity
-
setPen
-
setPen
-
setPen
-
setRenderHint
-
setRenderHints
-
setTransform
-
setViewTransformEnabled
-
setViewport
-
setViewport
-
setWindow
-
setWindow
-
setWorldMatrixEnabled
-
setWorldTransform
-
shear
-
strokePath
-
testRenderHint
-
transform
-
translate
-
translate
-
translate
-
viewTransformEnabled
-
viewport
-
window
-
worldMatrixEnabled
-
worldTransform
-
boundingRect
Overloaded function for
boundingRect(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
witho = new io.qt.gui.QTextOption()
. -
boundingRect
Overloaded function for
boundingRect(io.qt.core.QRect, java.lang.String, io.qt.gui.QTextOption)
witho = new io.qt.gui.QTextOption()
. -
boundingRect
Overloaded function for
boundingRect(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
. -
boundingRect
Overloaded function for
boundingRect(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
. -
boundingRect
Overloaded function for
boundingRect(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
. -
drawEllipse
Overloaded function for
drawEllipse(io.qt.core.QPointF, double, double)
. -
drawGlyphRun
Overloaded function for
drawGlyphRun(io.qt.core.QPointF, io.qt.gui.QGlyphRun)
. -
drawImage
Overloaded function for
drawImage(io.qt.core.QPoint, io.qt.gui.QImage, io.qt.core.QRect, io.qt.core.Qt.ImageConversionFlags)
withflags = new io.qt.core.Qt.ImageConversionFlags(0)
. -
drawImage
@QtUninvokable public final void drawImage(QPoint p, QImage image, QRect sr, Qt.ImageConversionFlag ... flags) Overloaded function for
drawImage(io.qt.core.QPoint, io.qt.gui.QImage, io.qt.core.QRect, io.qt.core.Qt.ImageConversionFlags)
. -
drawImage
Overloaded function for
drawImage(io.qt.core.QPointF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)
withflags = new io.qt.core.Qt.ImageConversionFlags(0)
. -
drawImage
@QtUninvokable public final void drawImage(QPointF p, QImage image, QRectF sr, Qt.ImageConversionFlag ... flags) -
drawImage
Overloaded function for
drawImage(io.qt.core.QRect, io.qt.gui.QImage, io.qt.core.QRect, io.qt.core.Qt.ImageConversionFlags)
withflags = new io.qt.core.Qt.ImageConversionFlags(0)
. -
drawImage
@QtUninvokable public final void drawImage(QRect targetRect, QImage image, QRect sourceRect, Qt.ImageConversionFlag ... flags) Overloaded function for
drawImage(io.qt.core.QRect, io.qt.gui.QImage, io.qt.core.QRect, io.qt.core.Qt.ImageConversionFlags)
. -
drawImage
Overloaded function for
drawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)
withflags = new io.qt.core.Qt.ImageConversionFlags(0)
. -
drawImage
@QtUninvokable public final void drawImage(QRectF targetRect, QImage image, QRectF sourceRect, Qt.ImageConversionFlag ... flags) -
drawImage
@QtUninvokable public final void drawImage(int x, int y, QImage image, int sx, int sy, int sw, int sh) Overloaded function for
drawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
withflags = new io.qt.core.Qt.ImageConversionFlags(0)
. -
drawImage
Overloaded function for
drawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
with:
sh = -1
flags = new io.qt.core.Qt.ImageConversionFlags(0)
-
drawImage
Overloaded function for
drawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
with:
sw = -1
sh = -1
flags = new io.qt.core.Qt.ImageConversionFlags(0)
-
drawImage
Overloaded function for
drawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
with:
sy = 0
sw = -1
sh = -1
flags = new io.qt.core.Qt.ImageConversionFlags(0)
-
drawImage
Overloaded function for
drawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
with:
sx = 0
sy = 0
sw = -1
sh = -1
flags = new io.qt.core.Qt.ImageConversionFlags(0)
-
drawImage
@QtUninvokable public final void drawImage(int x, int y, QImage image, int sx, int sy, int sw, int sh, Qt.ImageConversionFlag ... flags) Overloaded function for
drawImage(int, int, io.qt.gui.QImage, int, int, int, int, io.qt.core.Qt.ImageConversionFlags)
. -
drawLine
Overloaded function for
drawLine(io.qt.core.QPointF, io.qt.core.QPointF)
. -
drawLine
Overloaded function for
drawLine(io.qt.core.QPointF, io.qt.core.QPointF)
. -
drawPixmap
Overloaded function for
drawPixmap(io.qt.core.QPointF, io.qt.gui.QPixmap, io.qt.core.QRectF)
. -
drawPixmap
Overloaded function for
drawPixmap(io.qt.core.QPointF, io.qt.gui.QPixmap, io.qt.core.QRectF)
. -
drawPixmap
Overloaded function for
drawPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QRectF)
. -
drawPixmap
Overloaded function for
drawPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QRectF)
. -
drawPixmapFragments
@QtUninvokable public final void drawPixmapFragments(QPainter.PixmapFragment[] fragments, QPixmap pixmap) Overloaded function for
drawPixmapFragments(io.qt.gui.QPainter.PixmapFragment[], io.qt.gui.QPixmap, io.qt.gui.QPainter.PixmapFragmentHints)
withhints = new io.qt.gui.QPainter.PixmapFragmentHints(0)
. -
drawPixmapFragments
@QtUninvokable public final void drawPixmapFragments(QPainter.PixmapFragment[] fragments, QPixmap pixmap, QPainter.PixmapFragmentHint ... hints) -
drawPolygon
Overloaded function for
drawPolygon(io.qt.gui.QPolygon, io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
. -
drawPolygon
Overloaded function for
drawPolygon(io.qt.gui.QPolygonF, io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
. -
drawPolygon
Overloaded function for
drawPolygon(io.qt.core.QPoint[], io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
. -
drawPolygon
Overloaded function for
drawPolygon(io.qt.core.QPointF[], io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
. -
drawRoundedRect
Overloaded function for
drawRoundedRect(io.qt.core.QRect, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
. -
drawRoundedRect
Overloaded function for
drawRoundedRect(io.qt.core.QRectF, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
. -
drawRoundedRect
@QtUninvokable public final void drawRoundedRect(int x, int y, int w, int h, double xRadius, double yRadius) Overloaded function for
drawRoundedRect(int, int, int, int, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
. -
drawText
Overloaded function for
drawText(io.qt.core.QRect, int, java.lang.String, io.qt.core.QRect)
withbr = null
. -
drawText
Overloaded function for
drawText(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
witho = new io.qt.gui.QTextOption()
. -
drawText
Overloaded function for
drawText(io.qt.core.QRect, java.lang.String, io.qt.gui.QTextOption)
witho = new io.qt.gui.QTextOption()
. -
drawText
Overloaded function for
drawText(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
. -
drawText
Overloaded function for
drawText(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
. -
drawText
Overloaded function for
drawText(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
. -
drawText
Overloaded function for
drawText(io.qt.core.QRectF, int, java.lang.String, io.qt.core.QRectF)
withbr = null
. -
drawText
Overloaded function for
drawText(int, int, int, int, int, java.lang.String, io.qt.core.QRect)
withbr = null
. -
drawTiledPixmap
Overloaded function for
drawTiledPixmap(io.qt.core.QRect, io.qt.gui.QPixmap, io.qt.core.QPoint)
witharg__3 = new io.qt.core.QPoint()
. -
drawTiledPixmap
Overloaded function for
drawTiledPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QPointF)
withoffset = new io.qt.core.QPointF()
. -
drawTiledPixmap
@QtUninvokable public final void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg__5, int sx) Overloaded function for
drawTiledPixmap(int, int, int, int, io.qt.gui.QPixmap, int, int)
withsy = 0
. -
drawTiledPixmap
Overloaded function for
drawTiledPixmap(int, int, int, int, io.qt.gui.QPixmap, int, int)
with:
sx = 0
sy = 0
-
fillPath
Overloaded function for
fillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
. -
fillPath
Overloaded function for
fillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
. -
fillPath
Overloaded function for
fillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
. -
fillPath
Overloaded function for
fillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
. -
fillPath
Overloaded function for
fillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
. -
fillPath
Overloaded function for
fillPath(io.qt.gui.QPainterPath, io.qt.gui.QBrush)
. -
fillRect
Overloaded function for
fillRect(io.qt.core.QRect, io.qt.gui.QBrush)
. -
fillRect
Overloaded function for
fillRect(io.qt.core.QRect, io.qt.gui.QBrush)
. -
fillRect
Overloaded function for
fillRect(io.qt.core.QRect, io.qt.gui.QBrush)
. -
fillRect
Overloaded function for
fillRect(io.qt.core.QRect, io.qt.gui.QColor)
. -
fillRect
Overloaded function for
fillRect(io.qt.core.QRect, io.qt.gui.QColor)
. -
fillRect
Overloaded function for
fillRect(int, int, int, int, io.qt.gui.QBrush)
. -
fillRect
Overloaded function for
fillRect(int, int, int, int, io.qt.gui.QBrush)
. -
fillRect
Overloaded function for
fillRect(int, int, int, int, io.qt.gui.QBrush)
. -
fillRect
Overloaded function for
fillRect(int, int, int, int, io.qt.gui.QColor)
. -
fillRect
Overloaded function for
fillRect(int, int, int, int, io.qt.gui.QColor)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(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)
. -
setClipPath
Overloaded function for
setClipPath(io.qt.gui.QPainterPath, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRect
Overloaded function for
setClipRect(io.qt.core.QRect, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRect
Overloaded function for
setClipRect(io.qt.core.QRectF, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRect
Overloaded function for
setClipRect(int, int, int, int, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRegion
Overloaded function for
setClipRegion(io.qt.gui.QRegion, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRegion
Overloaded function for
setClipRegion(io.qt.core.QRect, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRegion
Overloaded function for
setClipRegion(io.qt.gui.QRegion, io.qt.core.Qt.ClipOperation)
. -
setClipRegion
Overloaded function for
setClipRegion(io.qt.gui.QPolygon, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRegion
Overloaded function for
setClipRegion(io.qt.gui.QRegion, io.qt.core.Qt.ClipOperation)
. -
setClipRegion
Overloaded function for
setClipRegion(io.qt.gui.QBitmap, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRegion
Overloaded function for
setClipRegion(io.qt.gui.QRegion, io.qt.core.Qt.ClipOperation)
. -
setFont
Overloaded function for
setFont(io.qt.gui.QFont)
. -
setPen
Overloaded function for
setPen(io.qt.gui.QColor)
. -
setPen
Overloaded function for
setPen(io.qt.gui.QColor)
. -
setPen
Overloaded function for
setPen(io.qt.gui.QColor)
. -
setRenderHint
Overloaded function for
setRenderHint(io.qt.gui.QPainter.RenderHint, boolean)
withon = true
. -
setRenderHints
Overloaded function for
setRenderHints(io.qt.gui.QPainter.RenderHints, boolean)
withon = true
. -
setTransform
Overloaded function for
setTransform(io.qt.gui.QTransform, boolean)
withcombine = false
. -
setWorldTransform
Overloaded function for
setWorldTransform(io.qt.gui.QTransform, boolean)
withcombine = false
. -
strokePath
Overloaded function for
strokePath(io.qt.gui.QPainterPath, io.qt.gui.QPen)
. -
strokePath
Overloaded function for
strokePath(io.qt.gui.QPainterPath, io.qt.gui.QPen)
.
-