% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/viewer.R
\name{cgv_background}
\alias{cgv_background}
\title{Set Background Color}
\usage{
cgv_background(viewer, color)
}
\arguments{
\item{viewer}{External pointer returned by \code{cgv_viewer}.}

\item{color}{A single color string (e.g. \code{"#FFFFFF"}, \code{"white"}),
or a character vector of 4 colors for corners (top-left, top-right,
bottom-left, bottom-right).}
}
\value{
No return value, called for side effects: updates the panel's
  background color on the GPU. Returns \code{NULL} invisibly.
}
\description{
Set the panel background to a solid color or a 4-corner gradient.
}
