Content stretch option.
More...
|
|
| ContentStretch (int mValue) |
| |
|
| ContentStretch (ContentStretch enum_) |
| |
| int | getValue () |
| | Returns the integer value of the enumeration constant. More...
|
| |
|
final int | swigValue () |
| |
|
|
| Fill =(1) |
| | Content is displayed unstretched in the middle of area.
|
| |
|
| None =(0) |
| |
| | Repeat =(4) |
| | Content stretched to fill full area. More...
|
| |
|
| Uniform =(2) |
| | Content encompasses full area.
|
| |
| | UniformToFill =(3) |
| | Content stretched to fill as much of area as possible. More...
|
| |
◆ getValue()
Returns the integer value of the enumeration constant.
- Returns
- Integer value.
Implements Enum.
◆ toEnum()
Converts an integer value to the matching enumeration constant.
- Parameters
-
| value | Integer value to convert to enumeration constant. |
- Returns
- Enumeration constant matching the integer value.
◆ Repeat
Content stretched to fill full area.
If aspect ratios do not match, clip excess area.
◆ UniformToFill
Content stretched to fill as much of area as possible.
If aspect ratios do not match, leave area undrawn.