image tileInset property support boolean value.
This commit is contained in:
@@ -120,13 +120,20 @@ export class Image extends View {
|
||||
bottom: number
|
||||
}
|
||||
|
||||
/**
|
||||
* image tile
|
||||
*
|
||||
* If boolean value 'true' is passed, it equals { left: 0, top: 0, right: 0, bottom: 0 }
|
||||
* Android: only support all area tile, so you'd better pass boolean value.
|
||||
* iOS: support custom area tile, so you can pass object value and boolean value.
|
||||
*/
|
||||
@Property
|
||||
tileInset?: {
|
||||
left: number,
|
||||
top: number,
|
||||
right: number,
|
||||
bottom: number
|
||||
}
|
||||
} | boolean
|
||||
|
||||
/**
|
||||
* Called if loaded image is animated and played end.
|
||||
|
Reference in New Issue
Block a user