onMeasure
fun onMeasure(context: ComponentContext, layout: ComponentLayout, widthSpec: Int, heightSpec: Int, size: Size, text: CharSequence?, ellipsize: TextUtils.TruncateAt?, shouldIncludeFontPadding: Boolean, minLines: Int, maxLines: Int, minEms: Int, maxEms: Int, minTextWidth: Int, maxTextWidth: Int, shadowRadius: Float, shadowDx: Float, shadowDy: Float, shadowColor: Int, isSingleLine: Boolean, textColor: Int, textColorStateList: ColorStateList?, linkColor: Int, textSize: Int, extraSpacing: Float, spacingMultiplier: Float, letterSpacing: Float, textStyle: Int, typeface: Typeface?, textAlignment: Layout.Alignment?, alignment: TextAlignment?, breakStrategy: Int, hyphenationFrequency: Int, justificationMode: Int, glyphWarming: Boolean, textDirection: TextDirectionHeuristicCompat?, minimallyWide: Boolean, minimallyWideThreshold: Int, lineHeight: Float, measureLayout: Output<Layout?>, measuredWidth: Output<Int?>, measuredHeight: Output<Int?>, fullWidth: Output<Int?>)