List of All Members for Context2D | Qt Quick | Qt 6.11.1
Description: Provides 2D context for shapes on a Canvas item.

- Qt 6.11
- Qt Quick
- QML Types
- Context2D
- Qt 6.11.1 Reference Documentation

# List of All Members for Context2D

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

- canvas : QtQuick::Canvas
- fillRule : enumeration
- fillStyle : variant
- font : string
- globalAlpha : real
- globalCompositeOperation : string
- lineCap : string
- lineDashOffset : real `(since QtQuick 2.11)`
- lineJoin : string
- lineWidth : real
- miterLimit : real
- shadowBlur : real
- shadowColor : string
- shadowOffsetX : real
- shadowOffsetY : real
- strokeStyle : variant
- textAlign : string
- textBaseline : string
- Context2D arc(real x, real y, real radius, real startAngle, real endAngle, bool anticlockwise)
- Context2D arcTo(real x1, real y1, real x2, real y2, real radius)
- Context2D beginPath()
- Context2D bezierCurveTo(real cp1x, real cp1y, real cp2x, real cp2y, real x, real y)
- Context2D clearRect(real x, real y, real w, real h)
- Context2D clip()
- Context2D closePath()
- CanvasGradient createConicalGradient(real x, real y, real angle)
- CanvasImageData createImageData(CanvasImageData imageData)
- CanvasImageData createImageData(Url imageUrl)
- CanvasImageData createImageData(real sw, real sh)
- CanvasGradient createLinearGradient(real x0, real y0, real x1, real y1)
- variant createPattern(Image image, string repetition)
- variant createPattern(color color, enumeration patternMode)
- CanvasGradient createRadialGradient(real x0, real y0, real r0, real x1, real y1, real r1)
- 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)
- Context2D ellipse(real x, real y, real w, real h)
- Context2D fill()
- Context2D fillRect(real x, real y, real w, real h)
- Context2D fillText(text, x, y)
- CanvasImageData getImageData(real x, real y, real w, real h)
- array getLineDash() `(since QtQuick 2.11)`
- bool isPointInPath(real x, real y)
- Context2D lineTo(real x, real y)
- var measureText(text)
- Context2D moveTo(real x, real y)
- void putImageData(CanvasImageData imageData, real dx, real dy, real dirtyX, real dirtyY, real dirtyWidth, real dirtyHeight)
- Context2D quadraticCurveTo(real cpx, real cpy, real x, real y)
- Context2D rect(real x, real y, real w, real h)
- Context2D reset()
- Context2D resetTransform()
- Context2D restore()
- Context2D rotate(real angle)
- Context2D roundedRect(real x, real y, real w, real h, real xRadius, real yRadius)
- Context2D save()
- Context2D scale(real x, real y)
- void setLineDash(array pattern) `(since QtQuick 2.11)`
- Context2D setTransform(real a, real b, real c, real d, real e, real f)
- Context2D shear(real sh, real sv)
- Context2D stroke()
- Context2D strokeRect(real x, real y, real w, real h)
- Context2D strokeText(text, x, y)
- Context2D text(string text, real x, real y)
- Context2D transform(real a, real b, real c, real d, real e, real f)
- Context2D translate(real x, real y)