mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-06 03:54:30 +08:00
feat: render 包单独构建 & fix: 画布高清问题
This commit is contained in:
1 parent
e4a6a136ed
commit
226b841124
29 files changed
+1462
-1208
No files matched your search
@@ -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,3 +2,5 @@ export type SizedCanvasImageSource = Exclude<
|
||||
CanvasImageSource,
|
||||
VideoFrame | SVGElement
|
||||
>;
|
||||
|
||||
export type CanvasStyle = string | CanvasGradient | CanvasPattern;
|
||||
Reference in new issue
Block a user