X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fbackground.h;h=c157a18e9464d41db202af8f456c8d3035484b47;hp=a8dc9163bdb5bf913e82dd50f62d9b8c11ae5150;hb=1acdb36279de888dcef999e0e0e1460babdd983a;hpb=cd7d41bc8e0a0816da28401207091344fbbe0b2c diff --git a/docs/content/programming-guide/background.h b/docs/content/programming-guide/background.h index a8dc916..c157a18 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","border"); +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 +
+ * */