processing/p5.js
Auf GitHub ansehenSupport 'justified' alignment as an option for textAlign
Open
#3.354 geöffnet am 3. Dez. 2018
Area:TypographyEnhancementHelp Wantedp5.js 2.0+
Repository-Metriken
- Stars
- (20.784 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 8T 13h) (45 gemergte PRs in 30 T)
Beschreibung
Support 'JUSTIFIED' alignment as an option for textAlign(), so that we can have text that looks like below. Note: we would need to check that the optional 'width' param was specified to text() when using this alignment. If I remember correctly there is an nice dynamic programming solution to this problem.
