rsktash
03/02/2021, 4:44 PMPath.op
methods (androidx.compose.ui.graphics.Path
).
The method is ignoring last param options. All of them difference
, intersect
reverseDifference
doing union
pathromainguy
03/02/2021, 5:09 PMrsktash
03/02/2021, 5:09 PMNader Jawad
03/02/2021, 5:10 PMrsktash
03/02/2021, 5:11 PMromainguy
03/02/2021, 5:14 PMrsktash
03/02/2021, 5:17 PMdector
03/02/2021, 5:28 PMaddRect()
instead of drawRect()
🙂Nader Jawad
03/02/2021, 5:29 PMromainguy
03/02/2021, 5:30 PMrsktash
03/02/2021, 5:32 PMNader Jawad
03/02/2021, 5:35 PMModifier.drawWithCache
as it breaks up the drawing operation into 2 steps that can be used to conditionally allocate and cache paths instead of allocating them on each draw call. Because the initial scope of drawWithCache isn't a DrawScope it makes it more difficult to call into drawing APIs instead of path operationsrsktash
03/02/2021, 5:36 PMModifier.drawWithCache
Daniel
03/02/2021, 5:45 PMNader Jawad
03/02/2021, 5:47 PMDaniel
03/02/2021, 5:48 PMDaniel
03/02/2021, 5:58 PMNader Jawad
03/02/2021, 5:59 PMDaniel
03/02/2021, 6:04 PMNader Jawad
03/02/2021, 6:10 PM