@NotThreadSafe public static final class ImmutableColor.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
ImmutableColor.Builder |
blue(double blue) |
ImmutableColor |
build() |
ImmutableColor.Builder |
from(Canvas.Color instance) |
ImmutableColor.Builder |
green(double green) |
ImmutableColor.Builder |
red(double red) |
public final ImmutableColor.Builder from(Canvas.Color instance)
public final ImmutableColor.Builder red(double red)
public final ImmutableColor.Builder green(double green)
public final ImmutableColor.Builder blue(double blue)
public ImmutableColor build()
Copyright © 2017 The Immutables.org authors. All rights reserved.