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)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
color | keyword-only | Not annotated | None |
radius | keyword-only | Not annotated | None |
offset | keyword-only | Not annotated | None |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
Shadow.color
Shadow.color(self)Decorators: property
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
Shadow.radius
Shadow.radius(self)Decorators: property
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
Shadow.offset
Shadow.offset(self)Decorators: property
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.