nathanielw / Android-Lollipop-Pencil-Stencils

Pencil stencil collection for Android 5.0 (Lollipop) UI components
MIT License
436 stars 45 forks source link

Non-opaque Text shape has text drawn in wrong place #16

Open amake opened 7 years ago

amake commented 7 years ago

When using a Text shape, setting the opacity of the text color to less than 100% results in the text being drawn outside of the box, in the upper-left corner of the canvas. Restoring opacity to 100% returns the text to its correct bounding box.

screen shot 2017-04-21 at 20 45 08

I am happy to submit a PR but I'm not even sure how to begin debugging this. Any hints are welcome.