Background
[ Interface ]
export interface Background {
color: TcHmi.Color | null;
image: string | null;
imageWidth: number | null;
imageWidthUnit: TcHmi.DimensionUnit;
imageHeight: number | null;
imageHeightUnit: TcHmi.DimensionUnit;
imageHorizontalAlignment: TcHmi.HorizontalAlignment;
imageVerticalAlignment: TcHmi.VerticalAlignment;
imagePadding: TcHmi.FourSidedCss | null;
}
Properties
Name | Type | Description |
---|---|---|
color | Definition of the color | |
image | Definition of a background image for the background image | |
imageWidth | Numerical value of the background width of the background image | |
imageWidthUnit | Unit of the background width of the background image | |
imageHeight | Numerical value of the background height of the background image | |
imageHeightUnit | Unit of the background height of the background image | |
imageHorizontalAlignment | Horizontal alignment of the background image | |
imageVerticalAlignment | Vertical alignment of the background image | |
imagePadding | Padding of the background image. |
Available from 1.8 |