document Document with the background; may be null. Null only for filled backgrounds
final Document? document;