public abstract static class Style.Builder<T extends Style.Builder<T>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
backgroundColor |
protected Double |
height |
protected LengthUnit |
heightUnit |
protected Double |
marginBottom |
protected Double |
marginLeft |
protected Double |
marginRight |
protected Double |
marginTop |
protected LengthUnit |
marginUnit |
protected Double |
width |
protected LengthUnit |
widthUnit |
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
T |
backgroundColor(Color color) |
T |
backgroundColor(String color) |
T |
height(double height,
LengthUnit heightUnit) |
T |
margin(LengthUnit unit,
Double marginTop,
Double marginBottom,
Double marginLeft,
Double marginRight) |
T |
margin(LengthUnit unit,
Integer marginTop,
Integer marginBottom,
Integer marginLeft,
Integer marginRight) |
T |
width(double width,
LengthUnit widthUnit) |
protected Double width
protected Double height
protected LengthUnit widthUnit
protected LengthUnit heightUnit
protected LengthUnit marginUnit
protected Double marginTop
protected Double marginBottom
protected Double marginLeft
protected Double marginRight
protected String backgroundColor
public T width(double width, LengthUnit widthUnit)
public T height(double height, LengthUnit heightUnit)
public T margin(LengthUnit unit, Integer marginTop, Integer marginBottom, Integer marginLeft, Integer marginRight)
public T margin(LengthUnit unit, Double marginTop, Double marginBottom, Double marginLeft, Double marginRight)
Copyright © 2021. All rights reserved.