12 #ifndef ROOT_TColorGradient 13 #define ROOT_TColorGradient 110 const Point &GetStart()
const;
111 const Point &GetEnd()
const;
150 const Point &GetStart()
const;
152 const Point &GetEnd()
const;
157 void SetRadialGradient(
const Point ¢er,
Double_t radius);
158 const Point &GetCenter()
const;
const Double_t * GetColorPositions() const
Get color positions.
ECoordinateMode GetCoordinateMode() const
Get coordinate mode.
SizeType_t GetNumberOfSteps() const
Get number of steps.
std::vector< Double_t > fColorPositions
Define a radial color gradient.
TColorGradient()
Constructor.
#define ClassDef(name, id)
static double p2(double t, double a, double b, double c)
void SetCoordinateMode(ECoordinateMode mode)
Set coordinate mode.
std::vector< Double_t > fColors
void RegisterColor(Color_t colorIndex)
Register color.
std::vector< Color_t >::size_type SizeType_t
unsigned int r1[N_CITIES]
static double p1(double t, double a, double b)
Define a linear color gradient.
Point(Double_t x, Double_t y)
The color creation and management class.
void ResetColor(UInt_t nPoints, const Double_t *points, const Color_t *colorIndices)
Reset color.
const Double_t * GetColors() const
Get colors.
TColorGradient extends basic TColor.
unsigned int r2[N_CITIES]
ECoordinateMode fCoordinateMode