mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-07 04:20:49 +00:00
4.1 KiB
4.1 KiB
Composite
Example Usage
import { Composite } from "@lukehagar/plexjs/models/shared";
let value: Composite = {};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
type |
number | ➖ | Limit composite to specified metadata types |
format |
shared.Format | ➖ | The image type |
backgroundColor |
string | ➖ | 6 character hex RGB value for background color for image |
border |
number | ➖ | The width of the intra-image border |
cols |
number | ➖ | Number of columns to construct in the composite image |
crop |
shared.Crop | ➖ | Where to crop source images to fit into composite image proportions |
height |
number | ➖ | The height of the image |
media |
shared.MediaEnum | ➖ | The default image type to use as the sources |
repeat |
boolean | ➖ | Allow repetion of images if there are not enough source images to fill grid |
rows |
number | ➖ | Number of rows to construct in the composite image |
width |
number | ➖ | The width of the image |