On this page

ImagePaint

from noon import ImagePaint

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 PNG/JPEG, uint8 array, or ImageMobject pixels for a planar fill.

Construction admits no scene object. Reusing an ImageMobject shares its
immutable pixels and sampling unless explicitly overridden. Array/encoded
defaults come from Rust preparation. UV animation uses ordinary fill semantics.

ImagePaint.__init__

ImagePaint.__init__(self, source, *, mapping=None, sampling=None)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
sourcepositional or keywordNot annotatedNo default
mappingkeyword-onlyNot annotatedNone
samplingkeyword-onlyNot annotatedNone

Return annotation: Not annotated

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

Source declaration

ImagePaint.with_mapping

ImagePaint.with_mapping(self, mapping)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
mappingpositional or keywordNot annotatedNo default

Return annotation: Not annotated

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

Source declaration