class Tourmaline::BackgroundTypePattern
inherits Reference
#
The background is 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.
Included modules
JSON::Serializable
Constructors#
.new(type, document, fill, intensity, is_inverted : Bool? = nil, is_moving : Bool? = nil)
#
(type, document, fill, intensity, is_inverted : Bool? = nil, is_moving : Bool? = nil)
Methods#
#fill : Tourmaline::BackgroundFill
#
: Tourmaline::BackgroundFill
The background fill that is combined with the pattern
#fill=(fill : Tourmaline::BackgroundFill)
#
(fill : Tourmaline::BackgroundFill)
The background fill that is combined with the pattern
#intensity : Int32 | Int64
#
: Int32 | Int64
Intensity of the pattern when it is shown above the filled background; 0-100
#intensity=(intensity : Int32 | Int64)
#
(intensity : Int32 | Int64)
Intensity of the pattern when it is shown above the filled background; 0-100
#is_inverted=(is_inverted : Bool?)
#
(is_inverted : Bool?)
Optional. 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
#is_inverted? : Bool?
#
: Bool?
Optional. 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
#is_moving=(is_moving : Bool?)
#
(is_moving : Bool?)
Optional. True, if the background moves slightly when the device is tilted
#is_moving? : Bool?
#
: Bool?
Optional. True, if the background moves slightly when the device is tilted