feat: render 包单独构建 & fix: 画布高清问题

This commit is contained in:
AncTe committed 2025-05-26 11:02:58 +08:00
1 parent e4a6a136ed
commit 226b841124
29 files changed
+1462 -1208

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ import {
} from '@motajs/render-core';
import { logger } from '@motajs/common';
import { clamp, isNil } from 'lodash-es';
import { CanvasStyle } from './types';
export type CircleParams = [
cx?: number,
+2
View File
@@ -2,3 +2,5 @@ export type SizedCanvasImageSource = Exclude<
CanvasImageSource,
VideoFrame | SVGElement
>;
export type CanvasStyle = string | CanvasGradient | CanvasPattern;