Returns a shader that combines the given shaders with a BlendMode.
Returns a shader with a given color and colorspace.
Returns a shader with Perlin Fractal Noise. See SkPerlinNoiseShader.h for more details
base frequency in the X direction; range [0.0, 1.0]
base frequency in the Y direction; range [0.0, 1.0]
if this and tileH are non-zero, the frequencies will be modified so that the noise will be tileable for the given size.
if this and tileW are non-zero, the frequencies will be modified so that the noise will be tileable for the given size.
Returns a shader that generates a linear gradient between the two specified points. See SkGradient.h for more.
colors to be distributed between start and end.
May be null. The relative positions of colors. If supplied must be same length as colors.
OptionallocalMatrix: InputMatrixOptionalflags: numberBy default gradients will interpolate their colors in unpremul space and then premultiply each of the results. By setting this to 1, the gradients will premultiply their colors first, and then interpolate between them.
OptionalcolorSpace: ColorSpaceReturns a shader that generates a radial gradient given the center and radius. See SkGradient.h for more.
colors to be distributed between the center and edge.
May be null. The relative positions of colors. If supplied must be same length as colors. Range [0.0, 1.0]
OptionallocalMatrix: InputMatrixOptionalflags: number0 to interpolate colors in unpremul, 1 to interpolate colors in premul.
OptionalcolorSpace: ColorSpaceReturns a shader that generates a sweep gradient given a center. See SkGradient.h for more.
colors to be distributed around the center, within the provided angles.
May be null. The relative positions of colors. If supplied must be same length as colors. Range [0.0, 1.0]
OptionallocalMatrix: InputMatrix | nullOptionalflags: number0 to interpolate colors in unpremul, 1 to interpolate colors in premul.
OptionalstartAngle: numberangle corresponding to 0.0. Defaults to 0 degrees.
OptionalendAngle: numberangle corresponding to 1.0. Defaults to 360 degrees.
OptionalcolorSpace: ColorSpaceReturns a shader with Perlin Turbulence. See SkPerlinNoiseShader.h for more details
base frequency in the X direction; range [0.0, 1.0]
base frequency in the Y direction; range [0.0, 1.0]
if this and tileH are non-zero, the frequencies will be modified so that the noise will be tileable for the given size.
if this and tileW are non-zero, the frequencies will be modified so that the noise will be tileable for the given size.
Returns a shader that generates a conical gradient given two circles. See SkGradient.h for more.
OptionallocalMatrix: InputMatrixOptionalflags: numberOptionalcolorSpace: ColorSpace
For more information, see SkShaders.h.