Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val layout = TextLayoutBuilder()
- .setText("Hello, world!")
- .setTextSize()
- .setTextColor()
- .setTextSpacingExtra()
- .setTextDirection()
- .setTextSpacingMultiplier()
- .setTextStyle()
- .setAlignment()
- .setBreakStrategy()
- .setDensity()
- .setDrawableState()
- .setEllipsize()
- .setGlyphWarmer(GlyphWarmerImpl())
- .setIncludeFontPadding()
- .setHyphenationFrequency()
- .setIndents()
- .setLinkColor()
- .setMaxEms()
- .setMaxLines()
- .setMaxWidth()
- .setShadowLayer()
- .setShouldCacheLayout()
- .setShouldWarmText()
- .setSingleLine()
- .setTypeface()
- .setWidth()
- .build()
Add Comment
Please, Sign In to add comment