Skip to content

Fill view using drawn path to do away with setting cornerRadius to have background conform to border #3

@ghost

Description

I'd like to get rid of this code:

self.layer.cornerRadius = cornerRadius;

As it won't work for different corner sizes (see #2 )

Therefore, the view should be filled using the drawn path, thus removing the need for setting this property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions