CurEncoder class
- Inheritance
-
- Object
- Encoder
- WinEncoder
- CurEncoder
Constructors
-
CurEncoder.new({Map<
int, Point> ? hotSpots})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hotSpots
↔ Map<
int, Point> ? -
Number of image mapped with x and y hotspot coordinates
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportsAnimation → bool
-
True if the encoder supports animated Images; otherwise false.
no setterinherited
- type → int
-
no setteroverride
Methods
-
bitsPerPixelOrYHotSpot(
int index) → int -
override
-
colorPlanesOrXHotSpot(
int index) → int -
override
-
encode(
Image image, {bool singleFrame = false}) → Uint8List -
Encode an
image
to an image format. IfsingleFrame
is true, only the one Image will be encoded; otherwise if image has animation, all frames of theimage
will be encoded if the encoder supports animation.inherited -
encodeImages(
List< Image> images) → Uint8List -
inherited
-
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