class ThemePainterCache
source · line 8public
public class ThemePainterCache public constructor() : Closeable
- Supertype
Closeable - Inherited
fun dispose(): Unit· Closeable
Own once in ComponentScope; returned painters are borrowed until the next replacement.
function clear
source · line 36public
public fun clear(): Unit
Release the active theme without ending this element's reusable resource owner.
constructor constructor
source · line 8public
constructor()
function close
source · line 42public
public override fun close(): Unit
- Overrides
close
function get
source · line 17public
public fun get(theme: Theme): ThemePainter
parameter theme
source · line 17public
theme: Theme
property isClosed
source · line 12public
public val isClosed: Boolean
get: public read-only
getter get
source · line 12public
get(): Boolean