public static class TdApi.BackgroundFillGradient extends TdApi.BackgroundFill
| Modifier and Type | Field and Description |
|---|---|
int |
bottomColor
A bottom color of the background in the RGB format.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
rotationAngle
Clockwise rotation angle of the gradient, in degrees; 0-359.
|
int |
topColor
A top color of the background in the RGB format.
|
| Constructor and Description |
|---|
BackgroundFillGradient()
Describes a gradient fill of a background.
|
BackgroundFillGradient(int topColor,
int bottomColor,
int rotationAngle)
Describes a gradient fill of a background.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int topColor
public int bottomColor
public int rotationAngle
public static final int CONSTRUCTOR
public BackgroundFillGradient()
public BackgroundFillGradient(int topColor,
int bottomColor,
int rotationAngle)
topColor - A top color of the background in the RGB format.bottomColor - A bottom color of the background in the RGB format.rotationAngle - Clockwise rotation angle of the gradient, in degrees; 0-359. Must always be divisible by 45.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object