X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fbackground.h;h=ef2d9330a9b97b79478edd5bb8555b4466f0e7c3;hb=d00a250741411c386d988e7ac34525cf94a1918e;hp=a8dc9163bdb5bf913e82dd50f62d9b8c11ae5150;hpb=56d412791a44c2a79135d2293c13fddb135c9d54;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..ef2d933 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 +
+ * */