TextSpec

object TextSpec

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun onCreateLayout(c: ComponentContext, text: CharSequence?, highlightColor: Int, 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, outlineColor: Int, outlineWidth: Float, customEllipsisText: CharSequence?, clickableSpanExpandedOffset: Float, accessibleClickableSpans: Boolean, textOffsetOnTouchHandler: EventHandler<*>?, spanListener: ClickableSpanListener?, touchableSpanListener: TouchableSpanListener?, clipToBounds: Boolean, highlightStartOffset: Int, highlightEndOffset: Int, dynamicTextColor: DynamicValue<Int?>?, verticalGravity: VerticalGravity, 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): Component
Link copied to clipboard
fun onLoadStyle(c: ComponentContext, ellipsize: Output<TextUtils.TruncateAt>?, extraSpacing: Output<Float>?, shouldIncludeFontPadding: Output<Boolean>?, spacingMultiplier: Output<Float>?, minLines: Output<Int>?, maxLines: Output<Int>?, minEms: Output<Int>?, maxEms: Output<Int>?, minTextWidth: Output<Int>?, maxTextWidth: Output<Int>?, isSingleLine: Output<Boolean>?, text: Output<CharSequence>?, textColorStateList: Output<ColorStateList>?, linkColor: Output<Int>?, highlightColor: Output<Int>?, textSize: Output<Int>?, alignment: Output<TextAlignment>?, breakStrategy: Output<Int>?, hyphenationFrequency: Output<Int>?, justificationMode: Output<Int>?, textStyle: Output<Int>?, shadowRadius: Output<Float>?, shadowDx: Output<Float>?, shadowDy: Output<Float>?, shadowColor: Output<Int>?, verticalGravity: Output<VerticalGravity>?, typeface: Output<Typeface>?)