HarmonyOS/OpenHarmony应用开发-ArkTS画布组件(六)
globalCompositeOperation、shadowBlurglobalCompositeOperation属性与方法代码:xxx.etsEntryComponentstructGlobalCompositeOperation{privatesettings:RenderingContextSettingsnewRenderingContextSettings(true)privatecontext:CanvasRenderingContext2DnewCanvasRenderingContext2D(this.settings)build(){Flex({direction:FlexDirection.Column,alignItems:ItemAlign.Center,justifyContent:FlexAlign.Center}){Canvas(t...