X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fvisuals%2Fimage-visual-properties.h;h=c1b0bfab4ad6ef158716ec056055cf96b45ee009;hp=b008dad7e8ebf3567f38d2942ce2616ff807a563;hb=c86b1a5547181a10af9a50be8706ae69baaa2cc9;hpb=afe38927f068846eaa02c374430da05f6209a6f9 diff --git a/dali-toolkit/public-api/visuals/image-visual-properties.h b/dali-toolkit/public-api/visuals/image-visual-properties.h index b008dad..c1b0bfa 100644 --- a/dali-toolkit/public-api/visuals/image-visual-properties.h +++ b/dali-toolkit/public-api/visuals/image-visual-properties.h @@ -19,7 +19,7 @@ */ // INTERNAL INCLUDES -#include +#include namespace Dali { @@ -27,6 +27,11 @@ namespace Dali namespace Toolkit { +/** + * @addtogroup dali_toolkit_visuals + * @{ + */ + namespace ImageVisual { @@ -102,16 +107,52 @@ enum /** * @brief This enables Image visuals to automatically be converted to Batch-Image visuals. * @details Name "batchingEnabled", type Property::BOOLEAN. - * @SINCE_1_1.46 - * @note Optional. For Image visuals only. Not to be used with NPatch or SVG images. + * @SINCE_1_2.0 + * @note Optional. If not specified, the default is false. + * @note For Image visuals only. Not to be used with NPatch or SVG images. */ BATCHING_ENABLED, + + /** + * @brief The image area to be displayed. + * @details Name "pixelArea", type Property::VECTOR4. + * It is a rectangular area. + * The first two elements indicate the top-left position of the area, and the last two elements are the area width and height respectively. + * @SINCE_1_2.1 + * @note Optional. If not specified, the default value is [0.0, 0.0, 1.0, 1.0], i.e. the entire area of the image. + * @note For Normal Quad images only. + */ + PIXEL_AREA, + + /** + * @brief The wrap mode for u coordinate. + * @details Name "wrapModeU", type Dali::WrapMode::Type (Property::INTEGER) or Property::STRING + * It decides how the texture should be sampled when the u coordinate exceeds the range of 0.0 to 1.0. + * @SINCE_1_2.1 + * @note Optional. If not specified, the default is CLAMP. + * @note For Normal QUAD image only. + */ + WRAP_MODE_U, + + /** + * @brief The wrap mode for v coordinate. + * @details Name "wrapModeV", type Dali::WrapMode::Type (Property::INTEGER) or Property::STRING + * it decides how the texture should be sampled when the v coordinate exceeds the range of 0.0 to 1.0. + * @SINCE_1_2.1 + * @note Optional. If not specified, the default is CLAMP. + * @note For Normal QUAD image only. + */ + WRAP_MODE_V, }; } // namespace Property } // namespace ImageVisual +/** + * @} + */ + } // namespace Toolkit } // namespace Dali