On this page

Star

from noon import Star

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: Polygon. Declared members follow; inherited and dynamically attached members are not expanded.

Star.__init__

Star.__init__(self, n=5, *, outer_radius=1, inner_radius=None, density=2, start_angle=_base.TAU / 4, **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
npositional or keywordNot annotated5
outer_radiuskeyword-onlyNot annotated1
inner_radiuskeyword-onlyNot annotatedNone
densitykeyword-onlyNot annotated2
start_anglekeyword-onlyNot annotated_base.TAU / 4
kwargs**kwargsNot annotatedNo default

Return annotation: Not annotated

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

Source declaration