image add imageScale
This commit is contained in:
7
doric-js/lib/src/widget/image.d.ts
vendored
7
doric-js/lib/src/widget/image.d.ts
vendored
@@ -48,6 +48,13 @@ export declare class Image extends View {
|
||||
width: number;
|
||||
height: number;
|
||||
} | undefined) => void;
|
||||
/**
|
||||
* Default is Environment.screenScale.
|
||||
*/
|
||||
imageScale?: number;
|
||||
/**
|
||||
* Unit in pixel
|
||||
*/
|
||||
stretchInset?: {
|
||||
left: number;
|
||||
top: number;
|
||||
|
@@ -82,6 +82,10 @@ __decorate([
|
||||
Property,
|
||||
__metadata("design:type", Function)
|
||||
], Image.prototype, "loadCallback", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], Image.prototype, "imageScale", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
|
Reference in New Issue
Block a user