HarmonyOS/OpenHarmony应用开发-ArkTS画布组件(七)
shadowColor代码xxx.etsEntryComponentstructShadowColor{privatesettings:RenderingContextSettingsnewRenderingContextSettings(true)privatecontext:CanvasRenderingContext2DnewCanvasRenderingContext2D(this.settings)build(){Flex({direction:FlexDirection.Column,alignItems:ItemAlign.Center,justifyContent:FlexAlign.Center}){Canvas(this.context).width('100%').height('100%').backgroundColor('ffff00').onRead...