[orx-color] Add type aliases
This commit is contained in:
20
orx-color/src/commonMain/kotlin/spaces/TypeAliases.kt
Normal file
20
orx-color/src/commonMain/kotlin/spaces/TypeAliases.kt
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
package org.openrndr.extra.color.spaces
|
||||||
|
|
||||||
|
import org.openrndr.color.*
|
||||||
|
|
||||||
|
typealias RGB = ColorRGBa
|
||||||
|
typealias LAB = ColorLABa
|
||||||
|
typealias LUV = ColorLUVa
|
||||||
|
typealias HSL = ColorHSLa
|
||||||
|
typealias HSV = ColorHSVa
|
||||||
|
typealias HSLuv = ColorHSLUVa
|
||||||
|
typealias OKLab = ColorOKLABa
|
||||||
|
typealias OKHSV = ColorOKHSVa
|
||||||
|
typealias OKHSL = ColorOKHSLa
|
||||||
|
typealias OKLCH = ColorOKLCHa
|
||||||
|
typealias XSL = ColorXSLa
|
||||||
|
typealias XSV = ColorXSVa
|
||||||
|
typealias XSLuv = ColorXSLUVa
|
||||||
|
typealias CIEXYZ = ColorXYZa
|
||||||
|
typealias LCHab = ColorLCHABa
|
||||||
|
typealias LCHuv = ColorLCHUVa
|
||||||
Reference in New Issue
Block a user