BaseSelection class abstract

Base class for all FireAtlas selections, containing information for a section of the image.

Check SpriteSelection for Sprite based selections, and AnimationSelection for SpriteAnimation based selections.

Implementers

Constructors

BaseSelection.new(Selection _info, {String? group})
Base class for all FireAtlas selections, containing information for a section of the image.

Properties

group String?
A group that this selection belongs to.
final
h int
The height of the selection.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
The id of the selection.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection Selection
The selection information.
no setter
w int
The width of the selection.
no setter
x int
The horizontal coordinate of the selection.
no setter
y int
The vertical coordinate of the selection.
no setter

Methods

copyWithGroup(String? group) BaseSelection
Copies this instance with a new group.
copyWithInfo(Selection info) BaseSelection
Copies this instance with a new selection info.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns this instance as a json.
toString() String
A string representation of this object.
inherited

Operators

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