BoxShadow
[ Interface ]
export interface BoxShadow {
color: TcHmi.SolidColor;
offsetX: number;
offsetXUnit?: TcHmi.DimensionUnit;
offsetY: number;
offsetYUnit?: TcHmi.DimensionUnit;
inset?: boolean;
blur?: number;
blurUnit?: TcHmi.DimensionUnit;
spread?: number;
spreadUnit?: TcHmi.DimensionUnit;
}
Properties
Name | Type | Description |
---|---|---|
color | Color of the shadow | |
offsetX | Numerical value of the distance of the shadow in x-direction | |
offsetXUnit | Unit of the distance of the shadow in x-direction | |
offsetY | Numerical value of the distance of the shadow in y-direction | |
offsetYUnit | Unit of the distance of the shadow in y-direction | |
inset [ optional ] | Specifies whether the shadow should be directed inwards. | |
blur [ optional ] | Numerical value of shadow blur | |
blurUnit [ optional ] | Unity of the shadow blur | |
spread [ optional ] | Numerical value of the enlargement or reduction of the shadow | |
spreadUnit [ optional ] | Unit for enlarging or reducing the shadow |
Schema: tchmi:framework#/definitions/BoxShadowList
Available from 1.8 |