- /**
- * @brief Offset of the visual. It can be either relative (percentage of the parent)
- * or absolute (in world units).
- * @details Name "offset", type Property::VECTOR2
- */
- OFFSET,
-
- /**
- * @brief Size of the visual. It can be either relative (percentage of the parent)
- * or absolute (in world units).
- * @details Name "size", type Property::VECTOR2
- */
- SIZE,
-
- /**
- * @brief The origin of the visual within its control area.
- * @details Name "origin", type Align::Type (Property::INTEGER) or Property::STRING.
- * @see Toolkit::Align
- */
- ORIGIN,
-
- /**
- * @brief The anchor-point of the visual
- * @details Name "anchorPoint", type Align::Type (Property::INTEGER) or Property::STRING.
- * @see Toolkit::Align
- */
- ANCHOR_POINT,
-
- /**
- * @brief Indicates which components of the offset and size are relative
- * (percentage of the parent) or absolute (in world units).
- * 0 indicates the component is relative, and 1 absolute.
- * @details Name "offsetSizeMode", type Property::VECTOR4
- */
- OFFSET_SIZE_MODE
+ FIT_KEEP_ASPECT_RATIO, ///< The visual should be scaled to fit, preserving aspect ratio
+ FILL, ///< The visual should be stretched to fill, not preserving aspect ratio