lilishop-uniapp/js_sdk/u-draw-poster/extends/draw-function/draw-image-fit.d.ts

13 lines
440 B
TypeScript
Raw Normal View History

2021-05-13 11:03:32 +08:00
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;