13 lines
440 B
TypeScript
13 lines
440 B
TypeScript
|
import { DrawPosterUseCtxOpts } from '../../utils/interface';
|
||
|
import { ObjectFit, ObjectPosition, Size } from "../../utils/object-sizing";
|
||
|
export interface ImageFitOption {
|
||
|
radius?: number;
|
||
|
objectFit?: ObjectFit;
|
||
|
intrinsicSize?: Size;
|
||
|
specifiedSize?: Size;
|
||
|
intrinsicPosition?: ObjectPosition;
|
||
|
specifiedPosition?: [number, number];
|
||
|
}
|
||
|
declare const _default: DrawPosterUseCtxOpts;
|
||
|
export default _default;
|