Guest User

Untitled

a guest
Jan 17th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. val layout = TextLayoutBuilder()
  2. .setText("Hello, world!")
  3. .setTextSize()
  4. .setTextColor()
  5. .setTextSpacingExtra()
  6. .setTextDirection()
  7. .setTextSpacingMultiplier()
  8. .setTextStyle()
  9. .setAlignment()
  10. .setBreakStrategy()
  11. .setDensity()
  12. .setDrawableState()
  13. .setEllipsize()
  14. .setGlyphWarmer(GlyphWarmerImpl())
  15. .setIncludeFontPadding()
  16. .setHyphenationFrequency()
  17. .setIndents()
  18. .setLinkColor()
  19. .setMaxEms()
  20. .setMaxLines()
  21. .setMaxWidth()
  22. .setShadowLayer()
  23. .setShouldCacheLayout()
  24. .setShouldWarmText()
  25. .setSingleLine()
  26. .setTypeface()
  27. .setWidth()
  28. .build()
Add Comment
Please, Sign In to add comment