HarmonyOS/OpenHarmony应用开发-ArkTS画布组件CanvasRenderingContext2D对象(十)clearRect fillText strokeText
clearRectclearRect(x:number,y:number,w:number,h:number):void删除指定区域内的绘制内容。参数:示例://xxx.ets@Entry@ComponentstructClearRect{privatesettings:RenderingContextSettings=newRenderingContextSettings(true)privat