static Shader MakeSweep (RectF r, GradData data, Shader.TileMode tile) { return new SweepGradient ( r.centerX (), r.centerX (), data.Colors, data.Pos); }
static Shader MakeRadial (RectF r, GradData data, Shader.TileMode tile) { return new RadialGradient ( r.centerX (), r.centerY (), r.centerX (), data.Colors, data.Pos, tile); }
static Shader MakeLinear (RectF r, GradData data, Shader.TileMode tile) { return new LinearGradient ( r.left, r.top, r.right, r.bottom, data.Colors, data.Pos, tile); }
static Shader MakeSweep(RectF r, GradData data, Shader.TileMode tile) { return(new SweepGradient( r.centerX(), r.centerX(), data.Colors, data.Pos)); }
static Shader MakeRadial(RectF r, GradData data, Shader.TileMode tile) { return(new RadialGradient( r.centerX(), r.centerY(), r.centerX(), data.Colors, data.Pos, tile)); }
static Shader MakeLinear(RectF r, GradData data, Shader.TileMode tile) { return(new LinearGradient( r.left, r.top, r.right, r.bottom, data.Colors, data.Pos, tile)); }