Optional
style
style?: Partial<{
alpha: number;
backgroundColor: null | string;
clipId: string;
color: string;
cornerRadius?: [number, number, number, number];
fontFamily: string;
fontSize: number;
fontStyle: "normal" | "italic" | "oblique";
fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
height?: number;
mediaDataId?: string;
position: [number, number];
relativeCornerRadius: boolean;
rotation: number;
scale: [number, number];
textAlign: "left" | "center" | "right" | "justify";
width?: number;
zIndex: number;
}>
Type declaration
alpha: number
backgroundColor: null | string
clipId: string
color: string
Optional
cornerRadius?: [number, number, number, number]
fontFamily: string
fontSize: number
fontStyle: "normal" | "italic" | "oblique"
fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"
Optional
height?: number
Optional
mediaDataId?: string
position: [number, number]
relativeCornerRadius: boolean
rotation: number
scale: [number, number]
textAlign: "left" | "center" | "right" | "justify"
Optional
width?: number
zIndex: number