The OpenD Programming Language

LinearGradient.this

Create a new linear gradient Pattern along the line defined by p1 and p2. Before using the gradient pattern, a number of color stops should be defined using Gradient.addColorStopRGB() or Gradient.addColorStopRGBA().

  1. this(cairo_pattern_t* ptr)
  2. this(Point!double p1, Point!double p2)
  3. this(double x1, double y1, double x2, double y2)
    class LinearGradient
    this
    (
    double x1
    ,
    double y1
    ,
    double x2
    ,
    double y2
    )

Meta