MapFilter class

Class to apply a filter to map

blur create a blur effect (px) <= 20

invert invert a color (%) <= 1

grayscale make map more grey (%) <= 1

bright light effect of map (%) <= 2

contrast change map contrast (%) <= 2

hue change all map color (deg) <= 359

opacity opacity of map (%) <= 1

saturate saturation of map (%) <= 10

sepia make a burnout effect <= 1

remember that 1 = 100%, 0.56 = 56% and etc.

Constructors

MapFilter.new({int blur = 0, double invert = 0, double grayscale = 0, double bright = 1, double contrast = 1, int hue = 0, double opacity = 1, double saturate = 1, double sepia = 0})

Properties

blur int
blur create a blur effect (px) <= 20
getter/setter pair
bright double
bright light effect of map (%) <= 2
getter/setter pair
contrast double
contrast change map contrast (%) <= 2
getter/setter pair
grayscale double
grayscale make map more grey (%) <= 1
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hue int
hue change all map color (deg) <= 359
getter/setter pair
invert double
invert invert a color (%) <= 1
getter/setter pair
opacity double
opacity opacity of map (%) <= 1
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saturate double
saturate saturation of map (%) <= 10
getter/setter pair
sepia double
sepia make a burnout effect <= 1
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toParameterString() List<String>
toParameterString make String to apply this as filter
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited