CarpenterColorScale class
Dynamic цветовая шкала с произвольными шагами.
Constructors
-
CarpenterColorScale(Map<
String, Color> colors) -
Создает шкалу из dynamic registry цветов.
const
- CarpenterColorScale.fromConfig(CarpenterColorScaleConfig config)
-
Создает шкалу из config.
factory
Properties
Methods
-
call(
Object step) → Color - Возвращает цвет по любому шагу.
-
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
-
operator [](
Object step) → Color - Возвращает цвет по любому шагу.