Skip to content

[Feat] add geometry's description when creating circle or ellipses using editable-layers #151

Open
@hadbn

Description

@hadbn

Target Use Case

When creating vectors using editable-layers, it might be usefull to be able to characterize the drawn geometry, or even to re-draw it. If it is easy to get back to the parameters of the geometry for squares or rectangle, for instance, it is much more expensive for circle and ellipses.
Thus, when a circle is created, its center and radius should be stored in the vector properties.
When an ellipse is created, we should store its center, its axis lengths, and the angle.

Proposal

We should just propagate the properties along all the methods, as they are already calculated. I will propose a PR.

Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions