Timo Drick
01/16/2021, 7:45 PMVsevolod Ganin
01/16/2021, 8:37 PMSurface with custom Shape? Inside surface you can draw whatever you want but the shadow will still be casted by the shape you provided. The shape gives outline for shadow and it could be as custom as some Path (see Outline.Generic). But it will still use elevation parameter to control shadow position and other implicit attributes which could be undesiredVsevolod Ganin
01/16/2021, 8:42 PMCanvas and make it cast shadow. So putting Canvas inside Surface and setting shape to CircleShape worked.Timo Drick
01/16/2021, 8:44 PMTimo Drick
01/16/2021, 8:44 PMTimo Drick
01/16/2021, 8:45 PMTimo Drick
01/16/2021, 8:47 PM