Nazariglez / notan

Cross-platform multimedia layer
https://nazariglez.github.io/notan-web/
Apache License 2.0
763 stars 53 forks source link

Add support for drawing points #298

Closed joseluis closed 7 months ago

joseluis commented 8 months ago

Hi! Testing notan I missed being able to draw points in a simple way with variable width and alignment, so I created a Point shape, and two enums for alignment, since it didn't seem appropriate to reuse the ones intended for text.

I also made an example showcasing all the alignment combinations on the first 10 integral widths, showing labels when compiled with text support:

image

Please feel free of letting me know if you want me to change something.

Nazariglez commented 7 months ago

This looks good to me, a great addition. Thanks you so much!