GramIO API Reference / @gramio/contexts/dist / BackgroundFillGradient
Class: BackgroundFillGradient
Defined in: contexts/index.d.ts:1183
The background is a gradient fill.
Constructors
Constructor
new BackgroundFillGradient(
payload):BackgroundFillGradient
Defined in: contexts/index.d.ts:1185
Parameters
| Parameter | Type |
|---|---|
payload | TelegramBackgroundFillGradient |
Returns
BackgroundFillGradient
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramBackgroundFillGradient | contexts/index.d.ts:1184 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:1187
Returns
string
bottomColor
Get Signature
get bottomColor():
number
Defined in: contexts/index.d.ts:1199
Bottom color of the gradient in the RGB24 format
Returns
number
rotationAngle
Get Signature
get rotationAngle():
number
Defined in: contexts/index.d.ts:1203
Clockwise rotation angle of the background fill in degrees; 0-359
Returns
number
topColor
Get Signature
get topColor():
number
Defined in: contexts/index.d.ts:1195
Top color of the gradient in the RGB24 format
Returns
number
type
Get Signature
get type():
"gradient"
Defined in: contexts/index.d.ts:1191
Type of the background fill, always “gradient”
Returns
"gradient"