Bitbybit Docs
    Preparing search index...

    Class RoundPolygon2Dto (Inputs.Polyline)

    A flat outline and the arcs polyline.roundCorners2d rounds its corners with.

    Index

    Constructors

    Properties

    points: Bit.Inputs.Base.Point2[]

    The outline's corners in order; the last joins back to the first.

    undefined
    
    radius?: number

    The radius every corner is rounded with; 0 leaves corners sharp.

    1
    

    0

    Infinity

    0.1

    radiusList?: number[]

    A radius per corner, in the order of points, used instead of radius when given.

    undefined
    

    true

    segments?: number

    How many straight pieces draw a quarter turn of arc; a smaller turn takes fewer.

    8
    

    1

    Infinity

    1