BackgroundImage
Specifies a background image oa a card. Acceptable formats are PNG, JPEG, and GIF
Properties
Name | Type | Required | Description |
---|---|---|---|
url | str | ✅ | The URL/data URL of an image to be used as a background of a card. Acceptable formats are PNG, JPEG, and GIF |
type_ | BackgroundImageType | ❌ | Must be BackgroundImage |
fill_mode | ImageFillMode | ❌ | Describes how the image should fill the area |
horizontal_alignment | HorizontalAlignment | ❌ | Describes how the image should be aligned if it must be cropped or if using repeat fill mode |
vertical_alignment | VerticalAlignment | ❌ | Describes how the image should be aligned if it must be cropped or if using repeat fill mode |
BackgroundImageType
Must be BackgroundImage
Properties
Name | Type | Required | Description |
---|---|---|---|
BACKGROUNDIMAGE | str | ✅ | "BackgroundImage" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs