@rendley/sdk 1.12.23 → 1.12.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -31,6 +31,7 @@ export declare class Display {
|
|
|
31
31
|
getBackgroundColor(): string;
|
|
32
32
|
getView(): HTMLCanvasElement;
|
|
33
33
|
getAntialias(): AntialiasTypeEnum;
|
|
34
|
+
private updateBackgroundColor;
|
|
34
35
|
setBackgroundColor(color: string): void;
|
|
35
36
|
setResolution(width: number, height: number): void;
|
|
36
37
|
private updateViewAutoLayout;
|
|
@@ -6,6 +6,9 @@ export declare enum AlignRoundEnum {
|
|
|
6
6
|
UP = "up",
|
|
7
7
|
DOWN = "down"
|
|
8
8
|
}
|
|
9
|
+
export interface TimelineRenderOptions {
|
|
10
|
+
skipRequestAnimationFrame: boolean;
|
|
11
|
+
}
|
|
9
12
|
export declare const TimelineSchema: z.ZodObject<{
|
|
10
13
|
startTime: z.ZodNumber;
|
|
11
14
|
fps: z.ZodNumber;
|
|
@@ -182,7 +185,7 @@ export declare class Timeline {
|
|
|
182
185
|
getFps(): number;
|
|
183
186
|
setFps(fps: number): void;
|
|
184
187
|
getFitDuration(): number;
|
|
185
|
-
render(): Promise<void>;
|
|
188
|
+
render(options?: TimelineRenderOptions): Promise<void>;
|
|
186
189
|
postRender(): void;
|
|
187
190
|
loadSerializedData(data: object): Promise<void>;
|
|
188
191
|
serialize(): {
|