Companion

object Companion

Constants used by FormattedLine

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getCurrentRuleset
Link copied to clipboard
private fun getCurrentRuleset(): Ruleset
getUniqueLink
Link copied to clipboard
private fun getUniqueLink(unique: Unique): String
hashCode
Link copied to clipboard
open fun hashCode(): Int
initNamesCategoryMap
Link copied to clipboard
private fun initNamesCategoryMap(ruleSet: Ruleset): HashMap<String, CivilopediaCategories>
toString
Link copied to clipboard
open fun toString(): String

Properties

allObjectNamesCategoryMap
Link copied to clipboard
private var allObjectNamesCategoryMap: HashMap<String, CivilopediaCategories>? = null
defaultColor
Link copied to clipboard
val defaultColor: Color

Default color for textand icons

defaultSize
Link copied to clipboard
const val defaultSize: Int = 18

Mirrors default text size as used by toLabel

headerSizes
Link copied to clipboard
val headerSizes: IntArray

Array of text sizes to translate the header attribute

iconPad
Link copied to clipboard
const val iconPad: Float = 5f

Padding added to the right of each icon

indentOneAtNumIcons
Link copied to clipboard
const val indentOneAtNumIcons: Int = 2

Where indent==1 will be, measured as icon count

indentPad
Link copied to clipboard
const val indentPad: Float = 30f

Padding distance per indent level

linkImage
Link copied to clipboard
const val linkImage: String

Internal path to the Link image

minIconSize
Link copied to clipboard
const val minIconSize: Float = 30f

Default inline icon size

rulesetCachedInNameMap
Link copied to clipboard
private var rulesetCachedInNameMap: Ruleset? = null
starImage
Link copied to clipboard
const val starImage: String

Internal path to the Star image

Sources

jvm source
Link copied to clipboard