Stretch¶
Summary¶
Describes how content is resized to fill its allocated space.
Signature
1 |
|
Namespace¶
cAlgo.API
Examples¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|
Fields¶
None¶
Summary
The content preserves its original size.
Signature
1 |
|
Return Value
Stretch
Fill¶
Summary
The content is resized to fill the destination dimensions. The aspect ratio is not preserved.
Signature
1 |
|
Return Value
Stretch
Uniform¶
Summary
The content is resized to fit in the destination dimensions while it preserves its native aspect ratio.
Signature
1 |
|
Return Value
Stretch
UniformToFill¶
Summary
The content is resized to fill the destination dimensions while it preserves its native aspect ratio. If the aspect ratio of the destination rectangle differs from the source, the source content is clipped to fit in the destination dimensions.
Signature
1 |
|
Return Value
Stretch