GramIO API Reference / @gramio/contexts/dist / BackgroundFillGradient
Class: BackgroundFillGradient
Defined in: contexts/index.d.ts:971
The background is a gradient fill.
Constructors
Constructor
new BackgroundFillGradient(
payload):BackgroundFillGradient
Defined in: contexts/index.d.ts:973
Parameters
| Parameter | Type |
|---|---|
payload | TelegramBackgroundFillGradient |
Returns
BackgroundFillGradient
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramBackgroundFillGradient | contexts/index.d.ts:972 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:975
Returns
string
bottomColor
Get Signature
get bottomColor():
number
Defined in: contexts/index.d.ts:987
Bottom color of the gradient in the RGB24 format
Returns
number
rotationAngle
Get Signature
get rotationAngle():
number
Defined in: contexts/index.d.ts:991
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:983
Top color of the gradient in the RGB24 format
Returns
number
type
Get Signature
get type():
"gradient"
Defined in: contexts/index.d.ts:979
Type of the background fill, always “gradient”
Returns
"gradient"