Skip to content

Commit 9fddec5

Browse files
noumaansAlexander Vakrilov
authored andcommitted
Update enums.d.ts (NativeScript#5530)
I believe aspectFill vs aspectFit definitions are reversed.
1 parent 75ee84c commit 9fddec5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tns-core-modules/ui/enums/enums.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,14 @@ export module Stretch {
192192

193193
/**
194194
* The image is resized to fill in the destination dimensions while it preserves its native aspect ratio.
195+
* If the aspect ratio of the destination rectangle differs from the image, the image is clipped to fill
196+
* in the destination.
195197
*/
196198
export var aspectFill: string;
197199

198200
/**
199201
* The image is resized to fit the destination dimensions while it preserves
200-
* its native aspect ratio. If the aspect ratio of the destination rectangle differs from the image,
201-
* the image is clipped to fit in the destination
202+
* its native aspect ratio.
202203
*/
203204
export var aspectFit: string;
204205

0 commit comments

Comments
 (0)