getColor method

Color getColor()

The color of the point attachment as it was in Spine, or a default clor if nonessential data was not exported. Point attachments are not usually rendered at runtime.

Implementation

Color getColor() {
  final color = _bindings.spine_point_attachment_get_color(_attachment);
  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));
}