convex property

bool get convex

When true the clipping polygon is treated as convex for more efficient clipping. If the polygon deforms to concave then the convex hull is used. When false the clipping polygon can be concave and if so has an additional CPU cost. Inverse clipping always uses convex.

Implementation

bool get convex {
  final result = SpineBindings.bindings.spine_clipping_attachment_get_convex(_ptr);
  return result;
}
set convex (bool value)

Implementation

set convex(bool value) {
  SpineBindings.bindings.spine_clipping_attachment_set_convex(_ptr, value);
}