Optionalstyle
style?: Partial<
{
alpha: number;
backgroundColor: null
| string;
clipId: string;
color: string;
cornerRadius?: [number, number, number, number];
crop: [number, number, number, number];
cropOffset: [number, number];
dropShadow: boolean;
dropShadowAlpha: number;
dropShadowAngle: number;
dropShadowBlur: number;
dropShadowColor: string;
dropShadowDistance: number;
fontFamily: string;
fontSize: number;
fontStyle: "normal" | "italic" | "oblique";
fontWeight:
| "normal"
| "bold"
| "bolder"
| "lighter"
| "100"
| "200"
| "300"
| "400"
| "500"
| "600"
| "700"
| "800"
| "900";
height?: number;
letterSpacing: number;
lineHeight: number;
mediaDataId?: string;
padding: number[];
position: [number, number];
relativeCornerRadius: boolean;
rotation: number;
scale: [number, number];
strokeColor: string;
strokeThickness: number;
textAlign: "left" | "center" | "right" | "justify";
width?: number;
wordWrapWidth: null | number;
zIndex: number;
zoom: [number, number];
},
>
Constructor payload for text clips, including the initial source text that will be rendered and serialized.
textseeds both the stored clip content and the first rendered value before any text animation overrides are applied.