Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LinearGradient

LinearGradient

example
{
    type: 'LinearGradient',
    stops: {
        1.0: 'white',
        0.9: '#FCFBAE',
        0.8: '#FAD932',
        0.7: '#F26C19',
        0.5: '#C41D6F',
        0.3: '#70009C',
        0.0: '#1E0073'
    }
};

Hierarchy

  • LinearGradient

Index

Properties

Properties

stops

stops: {}

The stops of the LinearGradient

Type declaration

  • [stop: number]: string

type

type: "LinearGradient"

The type is "LinearGradient".

Generated using TypeDoc