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