HarmonyOS/OpenHarmony应用开发-ArkTS画布组件(十三)
lineTolineTo(x:number,y:number):void从当前点到指定点进行路径连接。参数:示例:.xxx.ets.Entry.Component.structLineTo{.privatesettings:RenderingContextSettingsnewRenderingContextSettings(true).privatecontext:CanvasRenderingContext2DnewCanvasRenderingContext2D(this.settings)..build(){.Flex({direction:FlexDirection.Column,alignItems:ItemAlign.Center,justifyContent:FlexAlign.Center}){.Canvas(this.co...