Lines Matching full:center
56 /** Returns a shader that generates a radial gradient given the center and radius.
61 @param center The center of the circle for this gradient
63 …@param colors The array[count] of colors, to be distributed between the center and edge of the c…
66 … the the colors are distributed evenly between the center and edge of the circle.
72 static SkShader* CreateRadial(const SkPoint& center, SkScalar radius,
77 static SkShader* CreateRadial(const SkPoint& center, SkScalar radius, in CreateRadial() argument
80 return CreateRadial(center, radius, colors, pos, count, mode, 0, NULL); in CreateRadial()
103 /** Returns a shader that generates a sweep gradient given a center.
108 @param cx The X coordinate of the center of the sweep
109 @param cx The Y coordinate of the center of the sweep
110 @param colors The array[count] of colors, to be distributed around the center.
113 … the the colors are distributed evenly between the center and edge of the circle.