mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 14:13:45 +00:00
!12211 feat: add image span color filter
Merge pull request !12211 from Zhang Jinyu/imageSpan
This commit is contained in:
commit
b5ca737924
12
api/@internal/component/ets/image_span.d.ts
vendored
12
api/@internal/component/ets/image_span.d.ts
vendored
@ -97,6 +97,18 @@ declare class ImageSpanAttribute extends BaseSpan<ImageSpanAttribute> {
|
||||
*/
|
||||
verticalAlign(value: ImageSpanAlignment): ImageSpanAttribute;
|
||||
|
||||
/**
|
||||
* Sets the color filter effect on the image span.
|
||||
*
|
||||
* @param { ColorFilter | DrawingColorFilter } filter ColorFilter object.
|
||||
* @returns { ImageSpanAttribute } The attribute of the image span.
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
colorFilter(filter: ColorFilter | DrawingColorFilter): ImageSpanAttribute;
|
||||
|
||||
/**
|
||||
* Sets the zoom type of an image.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user