On this page

RadialGradient

from noon import RadialGradient

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.

Elliptical local-box paint with ordered ``(position, color)`` stops.

Radii are positive lengths along normalized local x/y axes. Equal radii
produce ellipses on nonsquare boxes. Rust owns validation and sampling.

RadialGradient.__init__

RadialGradient.__init__(self, stops, *, center=(0.5, 0.5), radii=(0.5, 0.5))
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
stopspositional or keywordNot annotatedNo default
centerkeyword-onlyNot annotated(0.5, 0.5)
radiikeyword-onlyNot annotated(0.5, 0.5)

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration