{}OPF
DocsObject referenceEdit on GitHub

Gradient Background

Fixed gradient slide background fill.

Metadata

Definition

#/$defs/GradientBackground

Type

object

Source

spec/schemas/opf.schema.json

Fields

FieldTypeReqDescription
typeconstyesFixed gradient background fill.
gradientobjectyesGradient fill definition.
opacitynumberBackground opacity from 0 (fully transparent) to 1 (fully opaque).

type

Type: const · Required · Default:

Fixed gradient background fill.

type.json
{
  "type": "gradient"
}

gradient

Type: object · Required · Default:

Gradient fill definition.

gradient.json
{
  "gradient": {}
}

opacity

Type: number · Optional · Default:

Background opacity from 0 (fully transparent) to 1 (fully opaque).

opacity.json
{
  "opacity": 1
}