m

    MaxUt

    1 year ago
    I'm trying to create Card shadows using drawWithContent but I cannot figure out how to draw rectangles around my content. Is there a way to do so ? I've tried using offsets but the rectangles get cropped. (I don't want to use the standard shadow modifier as we don't have control over the spread and blur)
    TheDukerChip

    TheDukerChip

    1 year ago
    Didn't know the exact thing you're asking, But I hope this one can get you startedhttps://gist.github.com/cedrickring/0497965b0658d6727aaec531f59e8c5c
    m

    MaxUt

    1 year ago
    @TheDukerChip Awesome thanks