LayerCopyManager class
A class responsible for managing layers in an image editing environment.
The LayerManager
provides methods for copying layers to create new instances
of the same type. It supports various types of layers, including text, emoji,
painting, and sticker layers.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyLayer(
Layer layer) → Layer - Copy a layer to create a new instance of the same type.
-
copyLayerList(
List< Layer> layers) → List<Layer> - Copy a list of layers to create a new instances of the same type.
-
createCopyEmojiLayer(
EmojiLayerData layer) → EmojiLayerData - Create a copy of an EmojiLayerData instance.
-
createCopyPaintingLayer(
PaintingLayerData layer) → PaintingLayerData - Create a copy of a PaintingLayerData instance.
-
createCopyStickerLayer(
StickerLayerData layer) → StickerLayerData - Create a copy of an EmojiLayerData instance.
-
createCopyTextLayer(
TextLayerData layer) → TextLayerData - Create a copy of a TextLayerData instance.
-
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