X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fimage-view.h;h=9960a3ed6de213527a007afa09a227f1465cbbd5;hb=266f5b8959b7e9e1215be278dac13347c358af47;hp=27a85746059cc918b429c60d8c3bc834eb93e219;hpb=8a358acc76e2d526e5ce16a048592e7c944d6a7d;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/programming-guide/image-view.h b/docs/content/programming-guide/image-view.h index 27a8574..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

- * You can specify a specific renderer instead of using the default Image Renderer, e.g to use the Border Renderer. + *

Visuals

+ * You can specify a specific visual instead of using the default Image Visual, e.g to use the Border Visual. * * @code - * Property::Map renderer; - * renderer.Insert("rendererType","BORDER"); - * renderer.Insert("borderColor",COLOR::RED); - * renderer.Insert("borderSize",20.f); + * Property::Map visual; + * 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, renderer); + * myImageView.SetProperty( Control::Property::IMAGE, visual ); * @endcode *

Resizing at Load Time