Creates a new instance of LinearGradient.
Creates a new instance of LinearGradient.
the X coordinate of the gradient axis start point
the Y coordinate of the gradient axis start point
the X coordinate of the gradient axis end point
the Y coordinate of the gradient axis end point
whether the coordinates are proportional to the shape which this gradient fills
cycle method applied to the gradient
the gradient's color specification
Creates a new instance of LinearGradient.
Creates a new instance of LinearGradient.
the X coordinate of the gradient axis start point
the Y coordinate of the gradient axis start point
the X coordinate of the gradient axis end point
the Y coordinate of the gradient axis end point
whether the coordinates are proportional to the shape which this gradient fills
cycle method applied to the gradient
the gradient's color specification
Creates a linear gradient value from a string representation.