LinearGradient
from noon import LinearGradient
Source-derived class. Host availability is not inferred from this listing. See reference scope.
Bases: object. Declared members follow; inherited and dynamically attached members are not expanded.
Local-box paint with ordered ``(position, color)`` stops. Coordinates run from the lower-left (0, 0) to upper-right (1, 1). Colors interpolate in premultiplied encoded sRGB. Coverage, fill opacity and object opacity remain independent. Rust validates all values.
LinearGradient.__init__
LinearGradient.__init__(self, stops, *, start=(0.0, 0.5), end=(1.0, 0.5))
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
stops | positional or keyword | Not annotated | No default |
start | keyword-only | Not annotated | (0.0, 0.5) |
end | keyword-only | Not annotated | (1.0, 0.5) |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.