BlobatarRenderer class

A resolved, ready-to-draw blobatar.

paint maps the 100-by-100 viewBox onto the largest centered square inside size, so a widget can hand this any constraints without distortion. The paint is deterministic: the same seed and options always produce the same geometry and palette, so two paints of the same renderer are pixel identical (modulo antialiasing, which is engine-level and reproduces deterministically on the same device).

Constructors

BlobatarRenderer({required String name, BlobatarOptions options = const core.BlobatarOptions()})
Resolves name with options immediately (the same normalization, hashing, and contrast the deterministic core guarantees).

Properties

hasBackdrop → bool
Whether a backdrop plate is drawn (the background option).
no setter
hashCode → int
The hash code for this object.
no setterinherited
name → String
The name resolved into this renderer's cached geometry.
final
options → BlobatarOptions
The immutable core options resolved with name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Size size) → void
Paints the figure onto canvas, mapping the 100-by-100 viewBox onto the largest square centered in size. Draw order matches the reference renderer: backdrop, petals, extra outlines, core body, then eyes.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited