public static class TdApi.BackgroundTypePattern extends TdApi.BackgroundType
TdApi.BackgroundType.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.BackgroundFill |
fill
Fill of the background.
|
int |
intensity
Intensity of the pattern when it is shown above the filled background; 0-100.
|
boolean |
isInverted
True, if the background fill must be applied only to the pattern itself.
|
boolean |
isMoving
True, if the background needs to be slightly moved when device is tilted.
|
Constructor and Description |
---|
BackgroundTypePattern()
A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.
|
BackgroundTypePattern(TdApi.BackgroundFill fill,
int intensity,
boolean isInverted,
boolean isMoving)
A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.BackgroundFill fill
public int intensity
public boolean isInverted
public boolean isMoving
public static final int CONSTRUCTOR
public BackgroundTypePattern()
public BackgroundTypePattern(TdApi.BackgroundFill fill, int intensity, boolean isInverted, boolean isMoving)
fill
- Fill of the background.intensity
- Intensity of the pattern when it is shown above the filled background; 0-100.isInverted
- True, if the background fill must be applied only to the pattern itself. All other pixels are black in this case. For dark themes only.isMoving
- True, if the background needs to be slightly moved when device is tilted.public int getConstructor()
getConstructor
in class TdApi.BackgroundType