iOS: resize image support tile mode.

This commit is contained in:
吴尚昆
2022-03-16 19:25:55 +08:00
committed by osborn
parent 66692316de
commit 77617df848
12 changed files with 3180 additions and 1685 deletions

View File

@@ -82,6 +82,12 @@ export declare class Image extends View {
right: number;
bottom: number;
};
tileInset?: {
left: number;
top: number;
right: number;
bottom: number;
};
/**
* Called if loaded image is animated and played end.
*/

View File

@@ -129,6 +129,10 @@ __decorate([
Property,
__metadata("design:type", Object)
], Image.prototype, "stretchInset", void 0);
__decorate([
Property,
__metadata("design:type", Object)
], Image.prototype, "tileInset", void 0);
__decorate([
Property,
__metadata("design:type", Function)