4 ms·
it's where you need to know the wrap points of some text given a width of the container. since Canvas does not offer text wrapping, that is one use case, becaus
by leeoniya 2y ago
it's where you need to know the wrap points of some text given a width of the container. since Canvas does not offer text wrapping, that is one use case, because you have to wrap manually.
my use case is determining the height of a table cell given a specific column width and text that needs to be rendered inside.