- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QStylePainter
public class QPainter extends QtObject
Performs low-level painting on widgets and other paint devices
Java wrapper for Qt class QPainter
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QPainter.CompositionMode
Java wrapper for Qt enum QPainter::CompositionModestatic class
QPainter.PixmapFragment
This class is used in conjunction with the QPainter::drawPixmapFragments() function to specify how a pixmap, or sub-rect of a pixmap, is drawnstatic class
QPainter.PixmapFragmentHint
Java wrapper for Qt enum QPainter::PixmapFragmentHintstatic class
QPainter.PixmapFragmentHints
QFlags type for enumQPainter.PixmapFragmentHint
static class
QPainter.RenderHint
Java wrapper for Qt enum QPainter::RenderHintstatic class
QPainter.RenderHints
QFlags type for enumQPainter.RenderHint
-
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QPainter()
QPainter(QPaintDevice arg__1)
protected
QPainter(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
Method Details
-
background
-
backgroundMode
-
begin
-
beginNativePainting
-
boundingRect
-
boundingRect
Overloaded function for
boundingRect(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
witho = new io.qt.gui.QTextOption()
. -
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.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.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.ImageConversionFlags flags) -
drawImage
-
drawImage
@QtUninvokable public final void drawImage(QPointF p, QImage image, QRectF sr, Qt.ImageConversionFlag... flags) -
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.ImageConversionFlags flags) -
drawImage
-
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.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.ImageConversionFlags flags) -
drawImage
-
drawImage
@QtUninvokable public final void drawImage(QRectF targetRect, QImage image, QRectF sourceRect, Qt.ImageConversionFlag... flags) -
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.ImageConversionFlags flags) -
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)
. -
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.ImageConversionFlags flags) -
drawLine
-
drawLine
-
drawLine
-
drawLine
-
drawLine
-
drawLines
-
drawLines
-
drawLines
-
drawLinesF
-
drawLinesFromPoints
-
drawLinesFromPointsF
-
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.PixmapFragmentHint... hints) -
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.PixmapFragmentHints hints) -
drawPoint
-
drawPoint
-
drawPoint
-
drawPoints
-
drawPoints
-
drawPoints
-
drawPoints
-
drawPolygon
Overloaded function for
drawPolygon(io.qt.core.QPoint[], io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
. -
drawPolygon
-
drawPolygon
Overloaded function for
drawPolygon(io.qt.core.QPointF[], io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
. -
drawPolygon
-
drawPolygon
Overloaded function for
drawPolygon(io.qt.gui.QPolygon, io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
. -
drawPolygon
-
drawPolygon
Overloaded function for
drawPolygon(io.qt.gui.QPolygonF, io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
. -
drawPolygon
-
drawPolyline
-
drawPolyline
-
drawPolyline
-
drawPolyline
-
drawRect
-
drawRect
-
drawRect
-
drawRects
-
drawRectsF
-
drawRects
-
drawRects
-
drawRoundedRect
Overloaded function for
drawRoundedRect(io.qt.core.QRect, double, double, io.qt.core.Qt.SizeMode)
withmode = io.qt.core.Qt.SizeMode.AbsoluteSize
. -
drawRoundedRect
@QtUninvokable public final void drawRoundedRect(QRect rect, double xRadius, double yRadius, Qt.SizeMode mode) -
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(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)Overloaded function for
drawRoundedRect(int, int, int, int, 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, Qt.SizeMode mode) -
drawStaticText
-
drawStaticText
-
drawStaticText
-
drawText
-
drawText
-
drawText
Overloaded function for
drawText(io.qt.core.QRect, int, java.lang.String, io.qt.core.QRect)
withbr = null
. -
drawText
-
drawText
Overloaded function for
drawText(io.qt.core.QRectF, java.lang.String, io.qt.gui.QTextOption)
witho = new io.qt.gui.QTextOption()
. -
drawText
-
drawText
Overloaded function for
drawText(io.qt.core.QRectF, int, java.lang.String, io.qt.core.QRectF)
withbr = null
. -
drawText
-
drawText
-
drawText
Overloaded function for
drawText(int, int, int, int, int, java.lang.String, io.qt.core.QRect)
withbr = null
. -
drawText
@QtUninvokable public final void drawText(int x, int y, int w, int h, int flags, String text, QRect br) -
drawTextItem
-
drawTextItem
-
drawTextItem
-
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
-
drawTiledPixmap
Overloaded function for
drawTiledPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QPointF)
withoffset = new io.qt.core.QPointF()
. -
drawTiledPixmap
-
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
-
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
Overloaded function for
setClipPath(io.qt.gui.QPainterPath, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipPath
-
setClipRect
Overloaded function for
setClipRect(io.qt.core.QRect, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRect
-
setClipRect
Overloaded function for
setClipRect(io.qt.core.QRectF, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRect
-
setClipRect
Overloaded function for
setClipRect(int, int, int, int, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRect
-
setClipRegion
Overloaded function for
setClipRegion(io.qt.gui.QRegion, io.qt.core.Qt.ClipOperation)
withop = io.qt.core.Qt.ClipOperation.ReplaceClip
. -
setClipRegion
-
setClipping
-
setCompositionMode
-
setFont
-
setLayoutDirection
-
setOpacity
-
setPen
-
setPen
-
setPen
-
setRenderHint
Overloaded function for
setRenderHint(io.qt.gui.QPainter.RenderHint, boolean)
withon = true
. -
setRenderHint
-
setRenderHints
Overloaded function for
setRenderHints(io.qt.gui.QPainter.RenderHints, boolean)
withon = true
. -
setRenderHints
-
setTransform
Overloaded function for
setTransform(io.qt.gui.QTransform, boolean)
withcombine = false
. -
setTransform
-
setViewTransformEnabled
-
setViewport
-
setViewport
-
setWindow
-
setWindow
-
setWorldMatrixEnabled
-
setWorldTransform
Overloaded function for
setWorldTransform(io.qt.gui.QTransform, boolean)
withcombine = false
. -
setWorldTransform
-
shear
-
strokePath
-
testRenderHint
-
transform
-
translate
-
translate
-
translate
-
viewTransformEnabled
-
viewport
-
window
-
worldMatrixEnabled
-
worldTransform
-
setBrush
-
setBrush
-
setBrush
-
setBrush
-