interface TokenHexagonalShape {
    points: number[];
    center: Point;
    snapping: {
        behavior: GridSnappingBehavior;
        anchor: Point;
    };
}

Properties

points: number[]

The points in normalized coordinates

center: Point

The center of the shape in normalized coordiantes

snapping: {
    behavior: GridSnappingBehavior;
    anchor: Point;
}

The snapping behavior and snapping anchor in normalized coordinates

Type declaration

  • behavior: GridSnappingBehavior
  • anchor: Point