mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Update enums.d.ts (#5530)
I believe aspectFill vs aspectFit definitions are reversed.
This commit is contained in:
committed by
Alexander Vakrilov
parent
75ee84cdd2
commit
9fddec517a
5
tns-core-modules/ui/enums/enums.d.ts
vendored
5
tns-core-modules/ui/enums/enums.d.ts
vendored
@@ -192,13 +192,14 @@ export module Stretch {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The image is resized to fill in the destination dimensions while it preserves its native aspect ratio.
|
* The image is resized to fill in the destination dimensions while it preserves its native aspect ratio.
|
||||||
|
* If the aspect ratio of the destination rectangle differs from the image, the image is clipped to fill
|
||||||
|
* in the destination.
|
||||||
*/
|
*/
|
||||||
export var aspectFill: string;
|
export var aspectFill: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The image is resized to fit the destination dimensions while it preserves
|
* The image is resized to fit the destination dimensions while it preserves
|
||||||
* its native aspect ratio. If the aspect ratio of the destination rectangle differs from the image,
|
* its native aspect ratio.
|
||||||
* the image is clipped to fit in the destination
|
|
||||||
*/
|
*/
|
||||||
export var aspectFit: string;
|
export var aspectFit: string;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user