X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fvisuals%2Fimage-visual-properties-devel.h;h=7deaf7a146f9f7186964dcad13184b11f5015300;hb=e4a4f86d7504f8823efd25da04c1a2a37554dac5;hp=a10a3f814bef075813c257dafb51e01847409b35;hpb=af1b5886e64600f578dc10edc257aad5f0574196;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h b/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h index a10a3f8..7deaf7a 100644 --- a/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h +++ b/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h @@ -104,14 +104,14 @@ enum Type PLAY_STATE = ORIENTATION_CORRECTION + 5, /** - * @brief The current frame number the AnimatedVectorImageVisual will use. + * @brief The current frame number the AnimatedImageVisual and AnimatedVectorImageVisual will use. * @details Name "currentFrameNumber", Type Property::INTEGER, between [0, the maximum frame number] or between the play range if specified * @note This property is read-only. */ CURRENT_FRAME_NUMBER = ORIENTATION_CORRECTION + 6, /** - * @brief The total frame number the AnimatedVectorImageVisual will use. + * @brief The total frame number the AnimatedImageVisual and AnimatedVectorImageVisual will use. * @details Name "totalFrameNumber", Type Property::INTEGER. * @note This property is read-only. */ @@ -145,7 +145,14 @@ enum Type * @details Name "redrawInScalingDown", type Property::BOOLEAN. * @note It is used in the AnimatedVectorImageVisual. The default is true. */ - REDRAW_IN_SCALING_DOWN + REDRAW_IN_SCALING_DOWN = ORIENTATION_CORRECTION + 11, + + /** + * @brief Whether to apply mask in loading time or rendering time. + * @details Name "maskingType", type PlayState::Type (Property::INTEGER). + * @note It is used in the ImageVisual and AnimatedImageVisual. The default is MASKING_ON_LOADING. + */ + MASKING_TYPE = ORIENTATION_CORRECTION + 12 }; } //namespace Property @@ -191,6 +198,19 @@ enum Type } // namespace LoopingMode +/** + * @brief Enumeration for what masking type is in. + */ +namespace MaskingType +{ +enum Type +{ + MASKING_ON_RENDERING, ///< Alpha masking is applied for each rendering time. (On GPU) + MASKING_ON_LOADING ///< Alpha masking is applied when the image is loading. (On CPU) +}; + +} + } // namespace DevelImageVisual } // namespace Toolkit