X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fimage-view.h;h=9960a3ed6de213527a007afa09a227f1465cbbd5;hp=b1a808a688e877115375c6fcd46a330f4f97353f;hb=6047d364c31f7078c1950b8251e478d5c9b0f0dc;hpb=f31a7b83577275e88914a00f37c4ff5224336553 diff --git a/docs/content/programming-guide/image-view.h b/docs/content/programming-guide/image-view.h index b1a808a..9960a3e 100644 --- a/docs/content/programming-guide/image-view.h +++ b/docs/content/programming-guide/image-view.h @@ -12,7 +12,7 @@ * The Image View is constructed by passing a Dali::Image object or by a url path.
* *

Loading from a url path

- * Image View will load a file from a given url path. Using a url path is the prefered way of displaying an image as the Dali engine can do optimsations to + * Image View will load a file from a given url path. Using a url path is the prefered way of displaying an image as the DALi engine can do optimisations to * reuse shaders and perform automatic image atlassing.
* This can be a path to a image file: * @code @@ -38,21 +38,21 @@ * @endcode * *

The IMAGE property

- * the IMAGE property allows you to change many aspects of the image that is renderered. + * the IMAGE property allows you to change many aspects of the image that is rendered. * This property can either be a string for a image url path or a Property::Map that specifies * the image in more detail. * - *

Renderers

+ *

Visuals

* You can specify a specific visual instead of using the default Image Visual, e.g to use the Border Visual. * * @code * Property::Map visual; - * visual.Insert("rendererType","BORDER"); - * visual.Insert("borderColor",COLOR::RED); - * visual.Insert("borderSize",20.f); + * visual.Insert( Visual::Property::Type,Visual::BORDER ); + * visual.Insert( BorderVisual::Property::COLOR, COLOR::RED ); + * visual.Insert( BorderVisual::Property::SIZE, 20.f ); * * Dali::Toolkit::ImageView myImageView = Dali::Toolkit::ImageView::New(); - * myImageView.SetProperty( Control::Property::IMAGE, visual); + * myImageView.SetProperty( Control::Property::IMAGE, visual ); * @endcode *

Resizing at Load Time