TextStylesHelper

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
val DEFAULT_EMS: Int = -1
Link copied to clipboard
Link copied to clipboard
val DEFAULT_LINE_HEIGHT: Float = 3.4028235E38f
Link copied to clipboard
val DEFAULT_MAX_WIDTH: Int = 2147483647
Link copied to clipboard

Functions

Link copied to clipboard
open fun onLoadStyle(c: ComponentContext, ellipsize: Output<TextUtils.TruncateAt>, extraSpacing: Output<Float>, shouldIncludeFontPadding: Output<Boolean>, spacingMultiplier: Output<Float>, minLines: Output<Integer>, maxLines: Output<Integer>, minEms: Output<Integer>, maxEms: Output<Integer>, minTextWidth: Output<Integer>, maxTextWidth: Output<Integer>, isSingleLine: Output<Boolean>, text: Output<CharSequence>, textColorStateList: Output<ColorStateList>, linkColor: Output<Integer>, highlightColor: Output<Integer>, textSize: Output<Integer>, textAlignment: Output<TextAlignment>, breakStrategy: Output<Integer>, hyphenationFrequency: Output<Integer>, justificationMode: Output<Integer>, textStyle: Output<Integer>, shadowRadius: Output<Float>, shadowDx: Output<Float>, shadowDy: Output<Float>, shadowColor: Output<Integer>, verticalGravity: Output<VerticalGravity>, typeface: Output<Typeface>)