Bitbybit Docs
    Preparing search index...

    Interface RecipePolygonNodeBeta (Inputs.Base)

    A flat region in the XY plane: everything its boundary encloses, less everything any of its holes encloses. The boundary and each hole are a range of x, y pairs without the first point repeated, in either winding; a boundary that crosses itself keeps every loop it makes.

    interface RecipePolygonNode {
        op: "polygon";
        points: RecipeRange;
        holes: RecipeRange[];
    }
    Index

    Properties

    Properties

    op: "polygon"

    Always polygon.

    points: RecipeRange

    The boundary, clockwise or counterclockwise.

    holes: RecipeRange[]

    The holes, clockwise or counterclockwise; they may overlap each other or reach past the boundary, and only what lies inside the boundary is cut away.