DocumentStyle
in package
implements
JsonSerializable
FinalYes
Global styles applied to the entire article document.
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
- $backgroundColor : string|null
Methods
- jsonSerialize() : array<string, mixed>
- setBackgroundColor() : self
- Set the global background color of the article.
Properties
$backgroundColor
private
string|null
$backgroundColor
= null
Methods
jsonSerialize()
public
jsonSerialize() : array<string, mixed>
Return values
array<string, mixed>setBackgroundColor()
Set the global background color of the article.
public
setBackgroundColor(string $color) : self
Parameters
- $color : string
-
Hex code or named color.