Package io.github.natanimn.telebof.types
Class BackgroundFill
java.lang.Object
io.github.natanimn.telebof.types.BackgroundFill
This object describes the way a background is filled based on the selected colors
- Since:
- 3 March 2025
- Author:
- Natanim
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IntegerBottom color of the gradient in the RGB24 formatprivate IntegerThe color of the background fill in the RGB24 formatA list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 formatprivate IntegerClockwise rotation angle of the background fill in degrees; 0-359private IntegerTop color of the gradient in the RGB24 formatprivate BackgroundFillTypeType of the background fill -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
Type of the background fill -
color
The color of the background fill in the RGB24 format -
topColor
Top color of the gradient in the RGB24 format -
bottomColor
Bottom color of the gradient in the RGB24 format -
rotationAngle
Clockwise rotation angle of the background fill in degrees; 0-359 -
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()
-
-
Method Details
-
getType
-
getColor
-
getTopColor
-
getBottomColor
-
getRotationAngle
-
getColors
-