• Home
  • Raw
  • Download

Lines Matching full:center

73     /** Returns a shader that generates a radial gradient given the center and radius.
75 @param center The center of the circle for this gradient
77 …@param colors The array[count] of colors, to be distributed between the center and edge of the c…
80 … the the colors are distributed evenly between the center and edge of the circle.
86 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius,
90 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius, in MakeRadial() argument
93 return MakeRadial(center, radius, colors, pos, count, mode, 0, NULL); in MakeRadial()
96 /** Returns a shader that generates a radial gradient given the center and radius.
98 @param center The center of the circle for this gradient
100 …@param colors The array[count] of colors, to be distributed between the center and edge of the c…
103 … the the colors are distributed evenly between the center and edge of the circle.
109 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius,
113 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius, in MakeRadial() argument
116 return MakeRadial(center, radius, colors, std::move(colorSpace), pos, count, mode, 0, NULL); in MakeRadial()
159 /** Returns a shader that generates a sweep gradient given a center.
161 @param cx The X coordinate of the center of the sweep
162 @param cx The Y coordinate of the center of the sweep
163 @param colors The array[count] of colors, to be distributed around the center.
166 … the the colors are distributed evenly between the center and edge of the circle.
179 /** Returns a shader that generates a sweep gradient given a center.
181 @param cx The X coordinate of the center of the sweep
182 @param cx The Y coordinate of the center of the sweep
183 @param colors The array[count] of colors, to be distributed around the center.
186 … the the colors are distributed evenly between the center and edge of the circle.