Content stretch option.
More...
|
| Fill =(1) |
| Content is displayed unstretched in the middle of area.
|
|
| None =(0) |
|
| Repeat =(4) |
| Content stretched to fill full area.
|
|
| Uniform =(2) |
| Content encompasses full area.
|
|
| UniformToFill =(3) |
| Content stretched to fill as much of area as possible.
|
|
◆ ContentStretch() [1/2]
Constructs a ContentStretch of an integer value.
- Parameters
-
value | Integer value to convert to enumeration constant. |
◆ ContentStretch() [2/2]
Constructs a copy of a ContentStretch object.
- Parameters
-
enum_ | ContentStretch to be copy constructed. |
◆ getValue()
Returns the integer value of the enumeration constant.
- Returns
- Integer value.
Implements Enum.
◆ swigToEnum()
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
- Parameters
-
swigValue | Integer value to convert to enumeration constant. |
- Returns
- Enumeration constant matching the integer value.
◆ swigValue()
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
- Returns
- Integer value.
◆ 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.