RadialGradient.this

Creates a new radial gradient pattern between the two circles defined by (c0, radius0) and (c1, radius1). Before using the gradient pattern, a number of color stops should be defined using Pattern.addColorStopRGB() or Pattern.addColorStopRGBA().

  1. this(cairo_pattern_t* ptr)
  2. this(Point!double c0, double radius0, Point!double c1, double radius1)
    class RadialGradient
    this
    (
    Point!double c0
    ,
    double radius0
    ,
    Point!double c1
    ,
    double radius1
    )
  3. this(double c0x, double c0y, double radius0, double c1x, double c1y, double radius1)

Parameters

c0 Point!double

center of the start circle

radius0 double

radius of the start circle

c1 Point!double

center of the end circle

radius1 double

radius of the end circle

Note: The coordinates here are in pattern space. For a new pattern, pattern space is identical to user space, but the relationship between the spaces can be changed with Pattern.setMatrix().

Meta