processing/p5.js
Vedi su GitHubSupport 'justified' alignment as an option for textAlign
Open
#3354 aperta il 3 dic 2018
Area:TypographyEnhancementHelp Wantedp5.js 2.0+
Metriche repository
- Star
- (20.784 star)
- Metriche merge PR
- (Merge medio 8g 13h) (45 PR mergiate in 30 g)
Descrizione
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.
