Android 9 diagram of the production

Source: Internet
Author: User

The. 9.PNG is indeed the standard PNG format, except for an extra 1px border on the outermost lap, the 1px border is used to define the extensible and static invariant areas of the image. In particular, thecross-section of the left and top borders is an extruded part, and the unselected part is the static area section. The cross-section of the right and bottom borders is the content part (the other part is equivalent to an inner margin, the spirit padding function), this parameter is optional.

See:

http://blog.csdn.net/lizzy115/article/details/7950959

Draw9patch.bat Other function description

①Zoom: Used to scale the size of the editing area on the left

②Patchscale: Used to zoom the size of the right preview area

③ ShowLock: Displays non-editable regions when the mouse is in the picture area

④ ShowPatches: Show the area of the picture Stretch in the editing area (marked with pink)

⑤Show content: Displays the contents area of the picture in the preview area (marked with light purple)

⑥Show Bad patches: In a red border around the stretched area, the area that may deform the extruded picture is displayed, and if it is completely eliminated, the picture is not deformed after stretching, that is, no matter how the picture is scaled, the display is good. (The actual experiment found that the Ninepatch editor is based on the color value of the image to distinguish whether it is bad patch, and as long as the chromatic aberration is not too large, do not consider this setting.) )

See:

http://my.oschina.net/u/1175007/blog/484589

Android 9 diagram of the production

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.