bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class OffsetDto<T>

    Type Parameters

    • T
    Index

    Constructors

    Properties

    crossSection: T

    Revolve cross section shape

    delta: number

    Positive deltas will cause the expansion of outlining contours to expand, and retraction of inner (hole) contours. Negative deltas will have the opposite effect.

    1
    

    -Infinity

    Infinity

    0.1

    The join type specifying the treatment of contour joins (corners).

    round
    
    miterLimit: number

    The maximum distance in multiples of delta that vertices can be offset from their original positions with before squaring is applied, when the join type is Miter (default is 2, which is the minimum allowed). See the Clipper2 MiterLimit page for a visual example.

    2
    

    2

    Infinity

    0.1

    circularSegments: number

    Number of segments per 360 degrees of JoinType::Round corners (roughly, the number of vertices that will be added to each contour). Default is calculated by the static Quality defaults according to the radius.

    32
    

    0

    Infinity

    1