font

fun Style.Builder.font(ns: String, path: String): Style.Builder

Sets the font using the specified namespace and path.

Return

this builder for chaining

Parameters

ns

the namespace of the font

path

the path of the font


fun Style.Builder.font(nsPath: String): Style.Builder

Sets the font using a namespaced path string (e.g., "namespace:path").

Return

this builder for chaining

Parameters

nsPath

the namespaced path string


fun Style.font(ns: String, path: String): Style

Sets the font using the specified namespace and path.

Return

this style for chaining

Parameters

ns

the namespace of the font

path

the path of the font


fun Style.font(nsPath: String): Style

Sets the font using a namespaced path string (e.g., "namespace:path").

Return

this style for chaining

Parameters

nsPath

the namespaced path string