public static class TdApi.BackgroundFillFreeformGradient extends TdApi.BackgroundFill
| Modifier and Type | Field and Description |
|---|---|
int[] |
colors
A list of 3 or 4 colors of the freeform gradient in the RGB format.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
BackgroundFillFreeformGradient()
Describes a freeform gradient fill of a background.
|
BackgroundFillFreeformGradient(int[] colors)
Describes a freeform gradient fill of a background.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int[] colors
public static final int CONSTRUCTOR
public BackgroundFillFreeformGradient()
public BackgroundFillFreeformGradient(int[] colors)
colors - A list of 3 or 4 colors of the freeform gradient in the RGB format.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object