merge static method
TransformationData
merge({
- Mode? mode = Mode.overlay,
- String? image = "",
- String? transformation = "",
- String? background = "00000000",
- int? height = 0,
- int? width = 0,
- int? top = 0,
- int? left = 0,
- Gravity? gravity = Gravity.center,
- Blend? blend = Blend.over,
- bool? tile = false,
- String? listofbboxes = "",
- String? listofpolygons = "",
Basic Transformations
-
mode
: mode (Default: overlay) -
image
: image (Default: ) -
transformation
: transformation (Default: ) -
background
: background (Default: "00000000") -
height
: height (Default: 0) -
width
: width (Default: 0) -
top
: top (Default: 0) -
left
: left (Default: 0) -
gravity
: gravity (Default: center) -
blend
: blend (Default: over) -
tile
: tile (Default: false) -
listofbboxes
: List of bboxes (Default: ) -
listofpolygons
: List of Polygons (Default: )
Returns TransformationData.
Implementation
static TransformationData merge(
{Mode? mode = Mode.overlay,
String? image = "",
String? transformation = "",
String? background = "00000000",
int? height = 0,
int? width = 0,
int? top = 0,
int? left = 0,
Gravity? gravity = Gravity.center,
Blend? blend = Blend.over,
bool? tile = false,
String? listofbboxes = "",
String? listofpolygons = ""}) {
// Call the generated class method
return Merge().merge(mode, image, transformation, background, height, width,
top, left, gravity, blend, tile, listofbboxes, listofpolygons);
}