[cairo.types.Status.PatternTypeMismatch] if pattern is not a linear gradient pattern.
Pattern.getLinearPoints
cairo.types.Status getLinearPoints(out double x0, out double y0, out double x1, out double y1)Gets the gradient endpoints for a linear gradient.
Parameters
x0 | return value for the x coordinate of the first point, or null |
y0 | return value for the y coordinate of the first point, or null |
x1 | return value for the x coordinate of the second point, or null |
y1 | return value for the y coordinate of the second point, or null |
Returns
[cairo.types.Status.Success], or