Is there a way to get the size of a string?

I'm looking for a way to get what the size of a string would be if it were rendered in a particular font. With the idea of reducing the size of the font if it's too big. Basically the equivalent to System.Drawing.Graphics.MeasureString(string text, Font font). Is there a way to do that with Skia? Thanks.

Best Answer


Sign In or Register to comment.