Lines Matching refs:radius
73 /** Returns a shader that generates a radial gradient given the center and radius.
76 @param radius Must be positive. The radius of the circle for this gradient
86 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius,
90 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius,
93 return MakeRadial(center, radius, colors, pos, count, mode, 0, nullptr);
96 /** Returns a shader that generates a radial gradient given the center and radius.
99 @param radius Must be positive. The radius of the circle for this gradient
109 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius,
113 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius,
116 return MakeRadial(center, radius, colors, std::move(colorSpace), pos, count, mode,