feat:新增图表颜色滤镜

This commit is contained in:
奔跑的面条
2022-04-19 22:07:54 +08:00
parent 96581511f8
commit 43c46c873c
5 changed files with 121 additions and 23 deletions
+14 -1
View File
@@ -30,7 +30,20 @@ export interface PublicConfigType extends requestConfig {
id: string
rename?: string
attr: { x: number; y: number; w: number; h: number; zIndex: number }
styles: { opacity: number; animations: string[] }
styles: {
// 透明度
opacity: number;
// 饱和度
saturate: number;
// 对比度
contrast: number;
// 色相
hueRotate: number;
// 亮度
brightness: number;
// 动画
animations: string[]
}
setPosition: Function
}
export interface CreateComponentType extends PublicConfigType {