getColor method

Color getColor()

The Color used to tint the slot's attachment. If hasDarkColor is true, this is used as the light color for two color tinting.

Implementation

Color getColor() {
  final color = _bindings.spine_slot_data_get_color(_data);
  return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), _bindings.spine_color_get_b(color),
      _bindings.spine_color_get_a(color));
}