List of All Members for Canvas2DContext | Qt Canvas Painter | Qt 6.12.0
Description: Provides a 2D context for drawing on a Canvas2D item.
Keywords: auto-generated

- Qt 6.12
- Qt Canvas Painter
- QtCanvas2D
- Canvas2DContext
- Qt Canvas Painter | Commercial or GPLv3

# List of All Members for Canvas2DContext

This is the complete list of members for Canvas2DContext, including inherited members.

- antialias : real
- canvas : Canvas2D
- fillRule : string
- fillStyle : variant
- font : string
- globalAlpha : real
- globalBrightness : real
- globalCompositeOperation : string
- globalContrast : real
- globalSaturate : real
- lineCap : string
- lineJoin : string
- lineWidth : real
- miterLimit : real
- strokeStyle : variant
- textAlign : string
- textAntialias : real
- textBaseline : string
- textLineHeight : real
- textWrapMode : string
- object addPath(path2d path, transform2d transform)
- object addPath(path2d path, int start, int count, transform2d transform)
- object arc(real x, real y, real radius, real startAngle, real endAngle, bool anticlockwise)
- object arcTo(real x1, real y1, real x2, real y2, real radius)
- object beginHoleSubPath()
- object beginPath()
- object beginSolidSubPath()
- object bezierCurveTo(real cp1x, real cp1y, real cp2x, real cp2y, real x, real y)
- object circle(real centerX, real centerY, real radius)
- object clearRect(real x, real y, real width, real height)
- object clipRect(real x, real y, real width, real height)
- object closePath()
- object createBoxGradient(real x, real y, real width, real height, real feather, real radius)
- object createBoxShadow(real x, real y, real width, real height, real blur, string color, real radius)
- object createBoxShadow(real x, real y, real width, real height, real blur, string color, real radiusTopLeft, real radiusTopRight, real radiusBottomRight, real radiusBottomLeft)
- object createConicalGradient(real x, real y, real angle)
- object createGridPattern(real x, real y, real width, real height, string lineColor, string backgroundColor, real lineWidth, real feather, real angle)
- object createLinearGradient(real x0, real y0, real x1, real y1)
- object createPath2D()
- object createPath2D(path2d path)
- object createPath2D(string svgPath)
- object createPattern(Image image, string repetition)
- object createRadialGradient(real x0, real y0, real r0, real x1, real y1, real r1)
- object createTransform2D()
- object drawBoxShadow(boxshadow2d shadow)
- object drawImage(variant image, real dx, real dy)
- object drawImage(variant image, real dx, real dy, real dw, real dh)
- object drawImage(variant image, real sx, real sy, real sw, real sh, real dx, real dy, real dw, real dh)
- object ellipse(real centerX, real centerY, real radiusX, real radiusY)
- object ellipseRect(real x, real y, real width, real height)
- object fill()
- object fill(string fillRule)
- object fill(path2d path, int pathGroup)
- object fill(path2d path, string fillRule, int pathGroup)
- object fillRect(real x, real y, real width, real height)
- object fillText(text, x, y, maxWidth)
- object fillText(text, x, y, width, height)
- transform2d getTransform()
- object lineTo(real x, real y)
- object measureText(text)
- object moveTo(real x, real y)
- object quadraticCurveTo(real cpx, real cpy, real x, real y)
- object rect(real x, real y, real width, real height)
- object reset()
- object resetClipping()
- object resetTransform()
- object restore()
- object rotate(real angle)
- object roundRect(real x, real y, real width, real height, real radius)
- object roundRect(real x, real y, real width, real height, real radiusTopLeft, real radiusTopRight, real radiusBottomRight, real radiusBottomLeft)
- object save()
- object scale(real scale)
- object scale(real sx, real sy)
- object setPathWinding(string winding)
- object setTransform(transform2d transform)
- object setTransform(real a, real b, real c, real d, real e, real f)
- object skew(real angleX, real angleY)
- object stroke()
- object stroke(path2d path, int pathGroup)
- object strokeRect(real x, real y, real width, real height)
- object strokeText(text, x, y)
- object transform(transform2d transform)
- object transform(real a, real b, real c, real d, real e, real f)
- object translate(real x, real y)