@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","Canvas.Line"}) @Immutable public final class ImmutableLine extends Object implements Canvas.Line
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableLine.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableLine.Builder |
builder() |
ImmutableColor |
color() |
static ImmutableLine |
copyOf(Canvas.Line instance) |
boolean |
equals(Object another) |
int |
hashCode() |
com.google.common.collect.ImmutableList<Canvas.Point> |
points() |
Optional<Canvas.Color> |
shadow() |
String |
toString() |
ImmutableLine |
withColor(Canvas.Color value) |
ImmutableLine |
withPoints(Canvas.Point... elements) |
ImmutableLine |
withPoints(Iterable<? extends Canvas.Point> elements) |
ImmutableLine |
withShadow(Canvas.Color value) |
ImmutableLine |
withShadow(Optional<? extends Canvas.Color> optional) |
public com.google.common.collect.ImmutableList<Canvas.Point> points()
public ImmutableColor color()
public Optional<Canvas.Color> shadow()
public final ImmutableLine withPoints(Canvas.Point... elements)
public final ImmutableLine withPoints(Iterable<? extends Canvas.Point> elements)
public final ImmutableLine withColor(Canvas.Color value)
public final ImmutableLine withShadow(Canvas.Color value)
public final ImmutableLine withShadow(Optional<? extends Canvas.Color> optional)
public int hashCode()
public String toString()
public static ImmutableLine copyOf(Canvas.Line instance)
public static ImmutableLine.Builder builder()
Copyright © 2017 The Immutables.org authors. All rights reserved.