X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fvisuals%2Fimage-visual-properties-devel.h;h=ce15c21a0a17528d3a98cb98800081235909130f;hb=86a0a83bfad7dfbfd6c08c911b11d259c840fb21;hp=501e61c375cccb232d0275b8eb0ea91033e7d3d4;hpb=46322a558e537267a6d3c48630c45afca91b5e27;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 501e61c..ce15c21 100644 --- a/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h +++ b/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h @@ -101,6 +101,23 @@ enum Type * @details Name "frameDelay", type Property::INTEGER, The number of milliseconds between each frame. Note, this is only used with the URLS property above. */ FRAME_DELAY = WRAP_MODE_V + 6, + + /** + * @brief The scale factor to apply to the content image before masking + * @details Name "maskContentScale", type Property::FLOAT, The scale factor + * to apply to the content before masking. Note, scaled images are cropped to + * the same size as the alpha mask. + */ + MASK_CONTENT_SCALE = WRAP_MODE_V + 7, + + /** + * @brief Whether to crop image to mask or scale mask to fit image + * @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. + * Note, if this is false, then the mask is scaled to fit the image before being applied. + */ + CROP_TO_MASK = WRAP_MODE_V + 8, + }; } //namespace Property