AbstractImage class abstract
abstract image
- Implementers
Constructors
Properties
Methods
-
clip(
int newWidth, int newHeight, [int offsetX = 0, int offsetY = 0]) → void -
copy(
) → AbstractImage -
drawRect(
Rect rect, Color color) → void -
getChannel(
int x, int y, [ImageChannel? channel]) → int -
getChannelSafe(
int x, int y, [int? defaultValue, ImageChannel? channel]) → int -
getColor(
int x, int y) → Color -
getColorSafe(
int x, int y, [Color? defaultColor = const Color(0x00ffffff)]) → Color -
getOffset(
int x, int y) → int -
inverse(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resize(
double ratio) → void -
resizeTo(
int newWidth, int newHeight) → void -
rotate(
double radian) → void -
scaleDown(
double scale) → void - use for zoom out an image
-
setChannel(
int x, int y, int value, [ImageChannel? channel]) → void -
setChannelSafe(
int x, int y, int value, [ImageChannel? channel]) → void -
setColor(
int x, int y, Color color) → void -
setColorSafe(
int x, int y, Color color) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited