Inherits BackgroundFill.
Describes a gradient fill of a background.
Public Fields | |
int32 | top_color_ |
A top color of the background in the RGB format. | |
int32 | bottom_color_ |
A bottom color of the background in the RGB format. | |
int32 | rotation_angle_ |
Clockwise rotation angle of the gradient, in degrees; 0-359. Must always be divisible by 45. | |
Public Instance Methods | |
backgroundFillGradient () | |
backgroundFillGradient (int32 top_color_, int32 bottom_color_, int32 rotation_angle_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1839206017 |
Identifier uniquely determining a type of the object. | |
Describes a gradient fill of a background.
backgroundFillGradient | ( | int32 | top_color_, |
int32 | bottom_color_, | ||
int32 | rotation_angle_ | ||
) |
Describes a gradient fill of a background.
[in] | top_color_ | A top color of the background in the RGB format. |
[in] | bottom_color_ | A bottom color of the background in the RGB format. |
[in] | rotation_angle_ | Clockwise rotation angle of the gradient, in degrees; 0-359. Must always be divisible by 45. |
|
finalvirtual |