PaintMode enum

All the paint method available for use.

Inheritance
Available extensions

Values

none → const PaintMode

Prefer using None while doing scaling operations.

freeStyle → const PaintMode

Allows for drawing freehand shapes or text.

line → const PaintMode

Allows to draw line between two points.

rect → const PaintMode

Allows to draw rectangle.

text → const PaintMode

Allows to write texts over an image.

arrow → const PaintMode

Allows us to draw line with arrow at the end point.

circle → const PaintMode

Allows to draw circle from a point.

dashLine → const PaintMode

Allows to draw dashed line between two point.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<PaintMode>
A constant List of the values in this enum, in order of their declaration.