X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fbackground.h;h=132fe19f99aa66fed3707d0d8d049376cf5409b7;hb=77abc294f7cc107aa575454735a0201b9f3a254a;hp=a8dc9163bdb5bf913e82dd50f62d9b8c11ae5150;hpb=7aa9e3d716396348b89c913b306bbc1ce201db69;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/programming-guide/background.h b/docs/content/programming-guide/background.h index a8dc916..132fe19 100644 --- a/docs/content/programming-guide/background.h +++ b/docs/content/programming-guide/background.h @@ -57,5 +57,24 @@ then the above image will look like: +@section background-renderer Background Renderer + +The background can be set to use a specified renderer, e.g the border renderer +@code +Property::Map renderer; +renderer.Insert("rendererType","borderRenderer"); +renderer.Insert("borderColor",COLOR::RED); +renderer.Insert("borderSize",20.f); + +control.SetProperty( Control::Property::BACKGROUND, renderer); +@endcode + +then the above image will look like: + + +
+\image html BackgroundBorder.png +
+ * */