telegramsjs
    Preparing search index...

    Class BackgroundFill

    Index

    Constructors

    • Parameters

      • data: BackgroundFill

        Data about the describes the way a background is filled based on the selected colors

      Returns BackgroundFill

    Properties

    bottomColor?: number

    Bottom color of the gradient in the RGB24 format

    color?: number

    The color of the background fill in the RGB24 format

    colors?: number[]

    A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format

    rotationAngle?: number

    Clockwise rotation angle of the background fill in degrees; 0-359

    topColor?: number

    Top color of the gradient in the RGB24 format

    Methods

    • Returns this is BackgroundFill & {
          bottomColor: number;
          rotationAngle: number;
          topColor: number;
      }