TextStyleProperties.getTextSize

Text size. This is equivalent to the CSS font-size property, and any valid value for this CSS property can be used when setting a value.

returns java.lang.String