// Generated by scripts/generate.mjs from bindings/api.mjs. Do not edit.
///|
#external
pub type ShapePoints
///|
pub extern "js" fn ShapePoints::shape(
self : ShapePoints,
) -> FixedArray[Vector2] =
#| (self) => self.shape.slice()
///|
pub extern "js" fn ShapePoints::holes(
self : ShapePoints,
) -> FixedArray[FixedArray[Vector2]] =
#| (self) => self.holes.map(hole => hole.slice())