loadFont

actual open override fun loadFont(identifier: String, defaultValue: KalugaFont?): KalugaFont?

Attempts to load the KalugaFont resource associated with a given identifier. If no match is found, the defaultValue will be returned.

Return

The associated KalugaFont resources or defaultValue if no such resource was found.

Parameters

identifier

The identifier to find the KalugaFont resource for.

defaultValue

The KalugaFont to return if no match was found for the identifier.

expect open override fun loadFont(identifier: String, defaultValue: KalugaFont?): KalugaFont?

Attempts to load the KalugaFont resource associated with a given identifier. If no match is found, the defaultValue will be returned.

Return

The associated KalugaFont resources or defaultValue if no such resource was found.

Parameters

identifier

The identifier to find the KalugaFont resource for.

defaultValue

The KalugaFont to return if no match was found for the identifier.

actual open override fun loadFont(identifier: String, defaultValue: KalugaFont?): KalugaFont?

Attempts to load the KalugaFont resource associated with a given identifier. If no match is found, the defaultValue will be returned.

Return

The associated KalugaFont resources or defaultValue if no such resource was found.

Parameters

identifier

The identifier to find the KalugaFont resource for.

defaultValue

The KalugaFont to return if no match was found for the identifier.