Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Enhancement] DrawingView multiple line support #1462

@VladislavAntonyuk

Description

@VladislavAntonyuk

Summary

Allow drawing multiple lines

image

API Changes

new
properties:

  • Lines. It is a Collection of Lines.
  • MultiLineMode. "False" -> Erase the image on Starting drawing. (Default value). "true" -> Add as many lines as you need

classes:

  • Line. I should have an Observable Collection of Points.

update:
rename DrawingCompletedCommand to DrawingLineCompletedCommand

Intended Use Case

The same as for the current DrawingView.
Most likely for the cross-platform Paint application.

Further improvements (most likely out of scope of this story):

  1. Each line has its own settings (LineColor, LineWidth).
  2. Line can be selected.

Who Will Do The Work?

  • I am willing to take this on myself
  • Just putting this out there for someone to pick up

Metadata

Metadata

Assignees

No one assigned

    Labels

    a/DrawingViewfeature-requestA request for a new feature.needs-approvalFeature request has been submitted but is awaiting final approval. Please do not implement before!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions