public class CGGradient extends CFType
| Constructor and Description |
|---|
CGGradient(CGColorSpace space,
double[] components,
double[] locations)
Constructs a CGGradient object with the specified parameter values.
|
CGGradient(CGColorSpace space,
List<CGColor> colors,
double[] locations)
Constructs a CGGradient object with the specified parameter values.
|
public CGGradient(CGColorSpace space, double[] components, double[] locations)
space - The color space.components - The color components for each color.locations - The locations of the colors.public CGGradient(CGColorSpace space, List<CGColor> colors, double[] locations)
space - The color space.colors - The list of colors.locations - The locations of the colors.Copyright © 2020. All rights reserved.