SectionImageLayout enum

Determines how a background image is laid out within each roulette section.

When a RouletteUnit has an image set, this mode controls how the image is transformed and positioned inside the arc-shaped section.

Inheritance
Available extensions

Values

rotatedFit → const SectionImageLayout

The image is rotated to align with the section's bisector angle, then scaled to cover the section area.

This produces a visually centered result where the image appears to follow the section's orientation.

boundingBoxFit → const SectionImageLayout

The image is scaled to fill the section's axis-aligned bounding box without any rotation.

This produces a simpler mapping where the image stretches to cover the rectangular bounds of the section path.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<SectionImageLayout>
A constant List of the values in this enum, in order of their declaration.