Skip to content

Shapes rendering order #83

Description

@stefano-dallona

Hi Danial,
first of all congratulations for your awesome library and also for sharing it with the community.
I was wondering if it would be possible to add a feature to control the order in which different shape types are rendered. I saw from the code that for example now squares are rendered after lines and there's now way to overcome this behavior due to the _draw... methods being private, which is obviously good from code encapsulation perspective.
Would it be possible to add a new config property containing a list of the shapes in the desired rendering order and have the draw method honour it ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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