Gin
Loading...
Searching...
No Matches
Interpolator< juce::ColourGradient > Struct Reference

Resamples both gradients onto the union of their stop positions and blends the colours there, and the end points. More...

#include <gin_animated.h>

Static Public Member Functions

static juce::ColourGradient blend (const juce::ColourGradient &a, const juce::ColourGradient &b, float p)
static bool same (const juce::ColourGradient &a, const juce::ColourGradient &b)

Detailed Description

Resamples both gradients onto the union of their stop positions and blends the colours there, and the end points.

Radial or not is the target's.

Member Function Documentation

◆ blend()

juce::ColourGradient Interpolator< juce::ColourGradient >::blend ( const juce::ColourGradient & a,
const juce::ColourGradient & b,
float p )
static

◆ same()

bool Interpolator< juce::ColourGradient >::same ( const juce::ColourGradient & a,
const juce::ColourGradient & b )
static

The documentation for this struct was generated from the following file: