mirror of
https://github.com/RDCN-Community-Developers/rdkt.git
synced 2026-09-05 01:35:31 +08:00
Fixed compilation error.
This commit is contained in:
@@ -131,7 +131,6 @@ public sealed interface Color : ColorOrPalette {
|
||||
* Creates a new [ColorWithAlpha] instance with the same red, green, and blue components but a specified alpha component.
|
||||
* The alpha component is optional and defaults to 255 (fully opaque) if not provided.
|
||||
*/
|
||||
@JvmOverloads
|
||||
public fun withAlpha(alpha: Int = 255): ColorWithAlpha = ColorWithAlpha.of(red, green, blue, alpha)
|
||||
|
||||
public object Serializer : PolymorphicDelegatedSerializer<Color, ColorOrPalette>(ColorOrPalette.serializer())
|
||||
|
||||
Reference in New Issue
Block a user