@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","Canvas.Color"}) @Immutable 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 blue) |
ImmutableColor |
withGreen(double green) |
ImmutableColor |
withRed(double red) |
public double red()
public double green()
public double blue()
public final ImmutableColor withRed(double red)
public final ImmutableColor withGreen(double green)
public final ImmutableColor withBlue(double blue)
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 © 2016 The Immutables.org authors. All rights reserved.