StoryGroupTextStyling

data class StoryGroupTextStyling @JvmOverloads constructor(isVisible: Boolean, typeface: Typeface, textSize: Pair<Int, Int?>, minLines: Int?, maxLines: Int?, lines: Int?, colorSeen: Int, colorNotSeen: Int)

This data class represents styling of story group texts

Constructors

StoryGroupTextStyling
Link copied to clipboard
fun StoryGroupTextStyling(isVisible: Boolean = true, typeface: Typeface = Typeface.DEFAULT, textSize: Pair<Int, Int?> = Pair(TypedValue.COMPLEX_UNIT_PX, null), minLines: Int? = null, maxLines: Int? = null, lines: Int? = null, colorSeen: Int = Color.BLACK, colorNotSeen: Int = Color.BLACK)

Properties

colorNotSeen
Link copied to clipboard
var colorNotSeen: Int

Text color of the unseen story group

colorSeen
Link copied to clipboard
var colorSeen: Int

Text color of the seen story group

isVisible
Link copied to clipboard
var isVisible: Boolean = true

Visibility of the story group text

lines
Link copied to clipboard
var lines: Int? = null

Line count of the story group text

maxLines
Link copied to clipboard
var maxLines: Int? = null

Maximum line count of the story group text

minLines
Link copied to clipboard
var minLines: Int? = null

Minimum line count of the story group text

textSize
Link copied to clipboard
var textSize: Pair<Int, Int?>

Text unit i.e: COMPLEX_UNIT_PX, COMPLEX_UNIT_DIP etc. and size of the story group text

typeface
Link copied to clipboard
var typeface: Typeface

Typeface of the story group text