X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fimage-actor.h;h=b528ef14117c6de7eb175d2598ee16eb5aa63cd7;hp=73a1adaeabfb4bae1292cdc1cc2695ce7e47405f;hb=26e308db77c286ccd0be0e7627b6cebfa2f9cb67;hpb=511ab5d892c68a8bbbc3846e85fc5ec8f7323470 diff --git a/docs/content/programming-guide/image-actor.h b/docs/content/programming-guide/image-actor.h index 73a1ada..b528ef1 100644 --- a/docs/content/programming-guide/image-actor.h +++ b/docs/content/programming-guide/image-actor.h @@ -23,7 +23,7 @@ *

Resizing at Load Time

* An application loading images from an external source will often want to * display those images at a lower resolution than their native ones. - * To support this, %Dali can resize an image at load time so that its + * To support this, DALi can resize an image at load time so that its * in-memory copy uses less space and its visual quality benefits from being * prefiltered. * There are four algorithms which can be used to fit an image to a desired @@ -60,25 +60,9 @@ * section. * *

Style

- * The Actor can render an image in two different ways.
+ * The Actor can render an image in only as a quad. Use ImageView for nine-patch/n-patch image rendering.
* -# STYLE_QUAD: A simple flat quad style for rendering images.
- * -# STYLE_NINE_PATCH: This style gives the flexibility to stretch images by dividing it into 9 sections. - * The four corners are not scaled; the four edges are scaled in one axis, and the middle is scaled in both axes.
- * - * @code - * // default : ImageActor::STYLE_QUAD - * myImageActor.SetStyle (Dali::ImageActor::STYLE_NINE_PATCH); - * @endcode - * - * - *

Border

- * The border is used in the ImageActor::STYLE_NINE_PATCH. It defines the border values of the image for stretching.
- * - * @code - * Dali::ImageActor::Border border(0.45,0.15,0.45,0.15); - * myImageActor.SetBorder(border); - * @endcode - * + * -# STYLE_NINE_PATCH: This is deprecated as of Dali 1.1.11. * *

Pixel area

* The area of the image to be displayed by the Image Actor can be set by setting the Pixel area. Pixel area is relative to the top-left (0,0) of the image.