Reference / @open-music-sdk/types / tArtwork
Interface: tArtwork
Defined in: common.ts:7
An object that represents artwork.
Properties
bgColor?
optional bgColor?: string;Defined in: common.ts:9
The average background color of the image.
height
height: number;Defined in: common.ts:11
The maximum height available for the image.
textColor1?
optional textColor1?: string;Defined in: common.ts:15
The primary text color used if the background color gets displayed.
textColor2?
optional textColor2?: string;Defined in: common.ts:17
The secondary text color used if the background color gets displayed.
textColor3?
optional textColor3?: string;Defined in: common.ts:19
The tertiary text color used if the background color gets displayed.
textColor4?
optional textColor4?: string;Defined in: common.ts:21
The final post-tertiary text color used if the background color gets displayed.
url
url: string;Defined in: common.ts:23
The URL to request the image asset. {w}x{h}must precede image filename, as placeholders for the width and height values as described above. For example, {w}x{h}bb.jpeg).
width
width: number;Defined in: common.ts:13
The maximum width available for the image.