# Companion

object Companion

## Functions

fromFullName
Link copied to clipboard
fun fromFullName(name: String?): ReferenceWhite

Helper to provide the ReferenceWhite enum for a particular full name. If an invalid name is provided, NONE is returned.

fromName
Link copied to clipboard
fun fromName(name: String?): ReferenceWhite

Helper to provide the ReferenceWhite enum for a particular name. If an invalid name is provided, NONE is returned.

fromRefId
Link copied to clipboard
fun fromRefId(refId: Int?): ReferenceWhite

Helper to provide the ReferenceWhite enum for a particular reference ID. If an invalid ID is provided, NONE is returned.

select
Link copied to clipboard
fun select(illuminant: Illuminant, observer: Observer): ReferenceWhite

Helper to provide the ReferenceWhite enum for a combination of Illuminant and Observer.