harmony 鸿蒙Special Effect Drawing Combination

  • 2023-10-30
  • 浏览 (352)

Special Effect Drawing Combination

The useEffect attribute is used to combine the drawing of special effects, such as background blur.

NOTE

This attribute is supported since API version 10. Updates will be marked with a superscript to indicate their earliest API version.

This is a system API.

Attributes

Name Type Description
useEffect bool Whether the component inherits the special effect settings of the <EffectComponent> component.
The value true means that the component inherits the special effect settings of the <EffectComponent> component, and false means the opposite.
Default value: false

Example

For details, see EffectComponent.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkTS-based Declarative Development Paradigm

harmony 鸿蒙@ohos.multimedia.avCastPicker (AVCastPicker)

harmony 鸿蒙Property Animation

harmony 鸿蒙Enums

harmony 鸿蒙Blank

harmony 鸿蒙Button

harmony 鸿蒙CalendarPicker

harmony 鸿蒙Checkbox

harmony 鸿蒙CheckboxGroup

harmony 鸿蒙DataPanel

0  赞