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