@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableColor extends Object implements Canvas.Color
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableColor.Builder |
| Modifier and Type | Method and Description |
|---|---|
double |
blue() |
static ImmutableColor.Builder |
builder() |
static ImmutableColor |
copyOf(Canvas.Color instance) |
boolean |
equals(Object another) |
double |
green() |
int |
hashCode() |
static ImmutableColor |
of(double red,
double green,
double blue) |
double |
red() |
String |
toString() |
ImmutableColor |
withBlue(double value) |
ImmutableColor |
withGreen(double value) |
ImmutableColor |
withRed(double value) |
public double red()
public double green()
public double blue()
public final ImmutableColor withRed(double value)
public final ImmutableColor withGreen(double value)
public final ImmutableColor withBlue(double value)
public int hashCode()
public String toString()
public static ImmutableColor of(double red, double green, double blue)
public static ImmutableColor copyOf(Canvas.Color instance)
public static ImmutableColor.Builder builder()
Copyright © 2022 The Immutables.org authors. All rights reserved.