getPolygon method
Returns the polygon for the given bounding box attachment or null if no polygon can be found for the attachment. Requires a call to update() first.
Implementation
Polygon? getPolygon(BoundingBoxAttachment? attachment) {
final result = SpineBindings.bindings
.spine_skeleton_bounds_get_polygon(_ptr, attachment?.nativePtr.cast() ?? Pointer.fromAddress(0));
return result.address == 0 ? null : Polygon.fromPointer(result);
}