Lines Matching refs:draw
4 …RenderingContext2D** and **OffscreenCanvasRenderingContext2D** objects to draw graphics on the **C…
9 You can draw custom graphics on the canvas in any of the following ways:
31 // You can draw content here.
44 - Drawing offscreen onto a canvas is a process where content to draw onto the canvas is first drawn…
68 // You can draw content here.
99 …OffscreenCanvasRenderingContext2D** objects can then be used to call related APIs to draw graphics.
136 …RenderingContext2D** and **OffscreenCanvasRenderingContext2D** objects to draw the path. For detai…
155 …** provide a large number of attributes and methods, which can be used to draw text and graphics a…
158 …You can draw a basic shape by calling APIs such as [arc](../reference/apis-arkui/arkui-ts/ts-canva…
185 …rokeText](../reference/apis-arkui/arkui-ts/ts-canvasrenderingcontext2d.md#stroketext) to draw text.
208 …You can draw an image by calling APIs such as [drawImage](../reference/apis-arkui/arkui-ts/ts-canv…
227 …// Use the drawImage API to draw an image in the area with the width and height of 130 starting fr…
231 … // Use the putImageData API to draw the obtained image data in the area starting from (150, 150).
291 … // Take (50, 50) as the upper left corner and draw a rectangle with the width and height of 200.