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=10073cbbd4cab10289a875df3278cdc0aa1cbd72;hp=a8dc9163bdb5bf913e82dd50f62d9b8c11ae5150;hb=HEAD;hpb=56d412791a44c2a79135d2293c13fddb135c9d54 diff --git a/docs/content/programming-guide/background.h b/docs/content/programming-guide/background.h index a8dc916..10073cb 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-visual Background Visual + +The background can be set to use a specified visual, e.g the border visual +@code +Property::Map visual; +visual.Insert( Visual::Property::Type,Visual::BORDER ); +visual.Insert( BorderVisual::Property::COLOR, COLOR::RED ); +visual.Insert( BorderVisual::Property::SIZE, 20.f ); + +control.SetProperty( Control::Property::BACKGROUND, visual); +@endcode + +then the above image will look like: + + +
+\image html BackgroundBorder.png +
+ * */