isabellekim
2997b6995f
Add shadow compat support for cut corners and triangle edge treatments, updating ShapePath to add extra shadow arcs when needed:
...
+ Updates LineShadowOperation to call drawEdgeShadow with a horizontal edge
+ ShapePath has a start & end shadow angle and will add shadow arcs to fill in gaps between shadow operations
PiperOrigin-RevId: 219686107
2018-11-01 16:22:14 -07:00
isabellekim
b07fdf2459
Remove anti-aliasing from cornerShadowPaint (to allow corner shadows to line up with edge shadows along angles)
...
PiperOrigin-RevId: 219575570
2018-11-01 16:20:43 -07:00
cketcham
ab1992a2ba
Fix shadow rendering and add shadow rotation angle for MaterialShapeDrawable
...
PiperOrigin-RevId: 218576270
2018-10-28 19:13:20 -04:00
cketcham
b623595c7f
Fix logic which determines when shadow should be drawn inside the bounds of an arc vs outside
...
PiperOrigin-RevId: 218525816
2018-10-28 19:12:19 -04:00
cketcham
2edfef1a6c
Draw compatibility shadows if the shape is concave or native shadows aren't supported.
...
PiperOrigin-RevId: 217689320
2018-10-28 18:28:35 -04:00