public static class TdApi.BackgroundFillGradient extends TdApi.BackgroundFill
TdApi.BackgroundFill.Constructors
Modifier and Type | Field and Description |
---|---|
int |
bottomColor
A bottom color of the background in the RGB24 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 RGB24 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() |
toString
public 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 RGB24 format.bottomColor
- A bottom color of the background in the RGB24 format.rotationAngle
- Clockwise rotation angle of the gradient, in degrees; 0-359. Must be always divisible by 45.public int getConstructor()
getConstructor
in class TdApi.BackgroundFill