HatchPaint
from noon import HatchPaint
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.
Parallel or crossed lines anchored to the object's local origin. ``spacing`` and ``width`` are local scene lengths. ``angle`` is the line direction in counterclockwise radians from local +X. ``phase`` advances the two perpendicular line families in periods. ``cross=True`` enables the second family. The default background is transparent. Rust validates values and filters the physical pixel footprint. Matching ``cross`` values animate spacing, width, angle, phase and colors through ordinary ``animate.set_fill``. Static hatching owns no playback clock.
HatchPaint.__init__
HatchPaint.__init__(self, color, background=None, *, spacing=0.25, width=0.04, angle=pi / 4, phase=(0.0, 0.0), cross=False)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
color | positional or keyword | Not annotated | No default |
background | positional or keyword | Not annotated | None |
spacing | keyword-only | Not annotated | 0.25 |
width | keyword-only | Not annotated | 0.04 |
angle | keyword-only | Not annotated | pi / 4 |
phase | keyword-only | Not annotated | (0.0, 0.0) |
cross | keyword-only | Not annotated | False |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.