Cartoonify class Null safety
Class Cartoonify lineStrength The thickness of the lines. (Range: 0 to 100, Server default: 50) colorReduction The decrease in the number of colors and corresponding saturation boost of the remaining colors. (Range: 0 to 100, Server default: automatically adjusts according to the line_strength value). Higher reduction values result in a less realistic look.
Constructors
- Cartoonify({dynamic lineStrength, dynamic colorReductionLevel, bool? blackwhite})
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
blackwhite(
[bool blackwhite = true]) → Cartoonify -
Converts the image to black and white. [...]
override
-
colorReductionLevel(
dynamic colorReductionLevel) → Cartoonify -
lineStrength(
dynamic lineStrength) → Cartoonify -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited