public static TextStylePainterParameters GetDefault(TextElement te)
 {
     return(GetDefault(te, te.text));
 }
Esempio n. 2
0
 protected internal override Vector2 DoMeasure(float width, MeasureMode widthMode, float height, MeasureMode heightMode)
 {
     return(TextElement.MeasureVisualElementTextSize(this, m_Text, width, widthMode, height, heightMode));
 }