Class BackgroundFill

java.lang.Object
io.github.natanimn.telebof.types.BackgroundFill

public class BackgroundFill extends Object
This object describes the way a background is filled based on the selected colors
Since:
3 March 2025
  • Field Details

    • type

      public BackgroundFillType type
      Type of the background fill,
    • color

      public Integer color
      The color of the background fill in the RGB24 format
    • top_color

      public Integer top_color
      Top color of the gradient in the RGB24 format
    • bottom_color

      public Integer bottom_color
      Bottom color of the gradient in the RGB24 format
    • rotation_angle

      public Integer rotation_angle
      Clockwise rotation angle of the background fill in degrees; 0-359
    • colors

      public List<Integer> colors
      A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format
  • Constructor Details

    • BackgroundFill

      public BackgroundFill()