ImageMapping
from noon import ImageMapping
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.
Immutable image fit and local UV placement, validated by Rust. Alignment and translation use lower-left normalized geometry coordinates; positive rotation is counterclockwise and signed scale can mirror the image.
ImageMapping.__init__
ImageMapping.__init__(self, *, fit='cover', alignment=(0.5, 0.5), address='clamp', translation=(0.0, 0.0), scale=(1.0, 1.0), rotation=0.0)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
fit | keyword-only | Not annotated | 'cover' |
alignment | keyword-only | Not annotated | (0.5, 0.5) |
address | keyword-only | Not annotated | 'clamp' |
translation | keyword-only | Not annotated | (0.0, 0.0) |
scale | keyword-only | Not annotated | (1.0, 1.0) |
rotation | keyword-only | Not annotated | 0.0 |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.