List of All Members for Context2D
这是完整成员列表为
Context2D
,包括继承的成员。
-
canvas
: QtQuick::Canvas
-
fillRule
: enumeration
-
fillStyle
: variant
-
font
: string
-
globalAlpha
: real
-
globalCompositeOperation
: string
-
lineCap
: string
-
lineDashOffset
: real
-
lineJoin
: string
-
lineWidth
: real
-
miterLimit
: real
-
shadowBlur
: real
-
shadowColor
: string
-
shadowOffsetX
: qreal
-
shadowOffsetY
: qreal
-
strokeStyle
: variant
-
textAlign
: string
-
textBaseline
: string
-
对象
arc
(real
x
, real
y
, real
radius
, real
startAngle
, real
endAngle
, bool
anticlockwise
)
-
对象
arcTo
(real
x1
, real
y1
, real
x2
, real
y2
, real
radius
)
-
对象
beginPath
()
-
对象
bezierCurveTo
(real
cp1x
, real
cp1y
, real
cp2x
, real
cp2y
, real
x
, real
y
)
-
对象
clearRect
(real
x
, real
y
, real
w
, real
h
)
-
对象
clip
()
-
对象
closePath
()
-
对象
createConicalGradient
(real
x
, real
y
, real
angle
)
-
CanvasImageData
createImageData
(Url
imageUrl
)
-
CanvasImageData
createImageData
(CanvasImageData
imageData
)
-
CanvasImageData
createImageData
(real
sw
, real
sh
)
-
对象
createLinearGradient
(real
x0
, real
y0
, real
x1
, real
y1
)
-
variant
createPattern
(Image
image
, string
repetition
)
-
variant
createPattern
(color
color
, enumeration
patternMode
)
-
对象
createRadialGradient
(real
x0
, real
y0
, real
r0
, real
x1
, real
y1
, real
r1
)
-
drawImage
(variant
image
, real
sx
, real
sy
, real
sw
, real
sh
, real
dx
, real
dy
, real
dw
, real
dh
)
-
drawImage
(variant
image
, real
dx
, real
dy
, real
dw
, real
dh
)
-
drawImage
(variant
image
, real
dx
, real
dy
)
-
对象
ellipse
(real
x
, real
y
, real
w
, real
h
)
-
对象
fill
()
-
对象
fillRect
(real
x
, real
y
, real
w
, real
h
)
-
对象
fillText
(
text
,
x
,
y
)
-
CanvasImageData
getImageData
(real
x
, real
y
, real
w
, real
h
)
-
array
getLineDash
()
-
对象
isPointInPath
(real
x
, real
y
)
-
对象
lineTo
(real
x
, real
y
)
-
对象
measureText
(
text
)
-
对象
moveTo
(real
x
, real
y
)
-
对象
putImageData
(CanvasImageData
imageData
, real
dx
, real
dy
, real
dirtyX
, real
dirtyY
, real
dirtyWidth
, real
dirtyHeight
)
-
对象
quadraticCurveTo
(real
cpx
, real
cpy
, real
x
, real
y
)
-
对象
rect
(real
x
, real
y
, real
w
, real
h
)
-
对象
reset
()
-
对象
resetTransform
()
-
对象
restore
()
-
对象
rotate
(real
angle
)
-
对象
roundedRect
(real
x
, real
y
, real
w
, real
h
, real
xRadius
, real
yRadius
)
-
对象
save
()
-
对象
scale
(real
x
, real
y
)
-
setLineDash
(array
pattern
)
-
对象
setTransform
(real
a
, real
b
, real
c
, real
d
, real
e
, real
f
)
-
对象
shear
(real
sh
, real
sv
)
-
对象
stroke
()
-
对象
strokeRect
(real
x
, real
y
, real
w
, real
h
)
-
对象
strokeText
(
text
,
x
,
y
)
-
对象
text
(string
text
, real
x
, real
y
)
-
对象
transform
(real
a
, real
b
, real
c
, real
d
, real
e
, real
f
)
-
对象
translate
(real
x
, real
y
)