konfeti - v0.6.0
    Preparing search index...

    Type Alias PolygonShapeOptions

    PolygonShapeOptions: ShapeEntryBase & {
        sides?: Range;
        size?: Range<Pixels>;
        type: "polygon";
    }

    Regular Polygon Shape Entry.

    Type Declaration

    • Optional Readonlysides?: Range

      Number of Sides. Rounded to whole numbers, clamped to 3–12.

      6

    • Optional Readonlysize?: Range<Pixels>

      Diameter.

      [8, 14]

    • Readonlytype: "polygon"

      Shape Type.

    shapes: [{ type: "polygon", sides: [5, 8] }]