Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Wallpaper\WallpaperSettings

Back to index

Author: Daniil Gentili daniil@daniil.it

Info on how to generate a wallpaper, according to these instructions ».

Properties

  • $blur: bool For image wallpapers: if set, the JPEG must be downscaled to fit in 450x450 square and then box-blurred with radius 12.
  • $motion: bool If set, the background needs to be slightly moved when the device is rotated.
  • $backgroundColor: ?int Used for solid, gradient and freeform gradient fills.
  • $secondBackgroundColor: ?int Used for gradient and freeform gradient fills.
  • $thirdBackgroundColor: ?int Used for freeform gradient fills.
  • $fourthBackgroundColor: ?int Used for freeform gradient fills.
  • $intensity: int Used for pattern wallpapers.
  • $rotation: int Clockwise rotation angle of the gradient, in degrees; 0-359. Should be always divisible by 45. — Generated by danog/phpdoc