On this page

Shadow

from noon import Shadow

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.

Colored Gaussian of painted alpha behind the original source.

Color alpha controls shadow opacity. Radius is Gaussian sigma; radius zero
is a hard shadow. Offset uses +X/right and +Y/up, independent of object pose.
A tuple uses scene units; Pixels((x, y)) uses final physical output pixels.

Shadow.__init__

Shadow.__init__(self, *, color=None, radius=None, offset=None)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
colorkeyword-onlyNot annotatedNone
radiuskeyword-onlyNot annotatedNone
offsetkeyword-onlyNot annotatedNone

Return annotation: Not annotated

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

Source declaration

Shadow.color

Shadow.color(self)

Decorators: property

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: Not annotated

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

Source declaration

Shadow.radius

Shadow.radius(self)

Decorators: property

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: Not annotated

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

Source declaration

Shadow.offset

Shadow.offset(self)

Decorators: property

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: Not annotated

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

Source declaration