API Reference > imodeljs-frontend > Rendering > Decorations > viewBackground viewBackground Accessor A view decoration drawn as the background of the view. See: GraphicType.ViewBackground. get: RenderGraphic | undefined Returns - RenderGraphic | undefined Setter A view decoration drawn as the background of the view. See: GraphicType.ViewBackground. set(viewBackground: RenderGraphic | undefined): void Parameter Type Description viewBackground RenderGraphic | undefined Returns - void Defined in core/frontend/src/render/Decorations.ts Line 37 Last Updated: 13 June, 2024