namespace Dali
{
-
namespace Toolkit
{
-
/**
* @addtogroup dali_toolkit_visuals
* @{
*/
namespace ImageVisual
{
-
/**
* @brief ImageVisual Property.
* @SINCE_1_1.45
*/
namespace Property
{
-
/**
* @brief Enumeration for the instance of properties belonging to the ImageVisual.
* @SINCE_1_1.45
* @details Name "cropToMask", type Property::BOOLEAN, True if the image should
* be cropped to match the mask size, or false if the image should remain the same size.
* @SINCE_1_2.60
- * @note Optional.
+ * @note Optional, Default true
* @note If this is false, then the mask is scaled to fit the image before being applied.
*/
CROP_TO_MASK,
*/
namespace LoadPolicy
{
-
/**
* @brief The available named elements that define the LoadPolicy.
* @SINCE_1_3_5
*/
enum Type
{
- IMMEDIATE = 0, ///< The image is loaded when the ImageVisual is created.
- ATTACHED ///< The image is loaded when the ImageVisual is attached to the stage.
+ IMMEDIATE = 0, ///< The image is loaded when the ImageVisual is created.
+ ATTACHED ///< The image is loaded when the ImageVisual is attached to the stage.
};
} // namespace LoadPolicy
*/
namespace ReleasePolicy
{
-
/**
* @brief The available named elements that define the ReleasePolicy.
* @SINCE_1_3_5
*/
enum Type
{
- DETACHED = 0, ///< Image deleted from cache when ImageVisual detached from stage.
- DESTROYED, ///< Image deleted from cache when ImageVisual destroyed.
- NEVER ///< Image is never deleted, will survive the lifetime of the application.
+ DETACHED = 0, ///< Image deleted from cache when ImageVisual detached from stage.
+ DESTROYED, ///< Image deleted from cache when ImageVisual destroyed.
+ NEVER ///< Image is never deleted, will survive the lifetime of the application.
};
-} // namespace ReleasePolicy;
+} // namespace ReleasePolicy
} // namespace ImageVisual