I assume you've looked at the docs:
*Show bad patches*: Adds a red border around patch areas that may produce
artifacts in the graphic when stretched. Visual coherence of your stretched
image will be maintained if you eliminate all bad patches
Still not *too* clear what that means, but I'd
Aha, no - I didn't find any links to docs about the program in the Android
docs, just a reference to the program in the part talking about 9-patch
images.
It makes sense to warn about artifacting - I presume it refers to how
stretched images will become blocky if the stretched columns and rows
This is what the 'show bad patches' mode looks like:
https://lh5.googleusercontent.com/_23u4H0QVvog/TZ4WKD8-XRI/Ax8/4k7DcLa3gVA/patches-bad.jpg
And when it's off:
https://lh4.googleusercontent.com/_23u4H0QVvog/TZ4W2OxZijI/AyA/DbjLnI1jYOs/patches-bad-hidden.jpg
But it's really
Is there any possibility of seeing an example image?
I don't think the graphics actually affect the 9-patch png from
working, the only thing that matters if that you stretch in both
directions, I don't think you can stretch in the x axis and not the y.
I have also found from experience it is
On Feb 26, 1:27 pm, Gaunt Face matt.t.ga...@googlemail.com wrote:
Basically have at least one black pixel on the top and left sides and
you should have an ok, stretching 9-patch png
Why does this matter? Suppose the edge is a shadow or other gradient.
What then?
--
You received this
Then it's not a 9-patch! A 9-patch has one extra pixel around the
edge, that is used to describe where the graphic within that 1-pixel
border is stretched.
Please see the documentation for the Draw 9-patch tool, which can take
an existing graphic and convert it for you, by adding those 1-pixel
6 matches
Mail list logo