Artwork
An object that represents artwork.
Declaration
object ArtworkProperties
| Name | Type | Description |
|---|---|---|
assetToken | string | |
bgColor | string | The average background color for the image to use as a placeholder. |
gradient | Artwork.Gradient | Gradient information. If absent, use existing gradient behavior. If present, but the body is an empty object {}, then gradient is disabled. This overrides any setting in the editorial item. |
hasP3 | boolean | |
height Required | number | The largest height available for the source image. |
pictureFileType | string | |
supportsLayeredImage | boolean | |
textColor1 | string | A primary text color appropriate to use with the artwork. |
textColor2 | string | A secondary text color appropriate to use with the artwork. |
textColor3 | string | An auxiliary text color appropriate to use with the artwork. |
textColor4 | string | An auxiliary text color appropriate to use with the artwork. |
url Required | string | The URL of the image. May be templated to allow customizing the height {h}, width {w}, and crop code {c}. |
width Required | number | The largest width available for the source image. |