@jsfkit/types
    Preparing search index...

    Type Alias Path

    Shape geometry path definition.

    Defines a single path within a custom shape's geometry, including the path commands and rendering properties for that path.

    type Path = {
        d: PathCommand[];
        fill: PathFillMode;
        height: PositiveCoordinate;
        stroke: boolean;
        width: PositiveCoordinate;
    }
    Index

    Properties

    Properties

    Array of path commands (moveTo, lineTo, etc.) defining the path geometry.

    Fill mode for the path.

    Specifies the height, or maximum y coordinate that should be used for within the path coordinate system. This value determines the vertical placement of all points within the corresponding path as they will all be calculated using this height attribute as the max y coordinate.

    stroke: boolean

    Whether this path should be stroked (outlined).

    Specifies the width, or maximum x coordinate that should be used for within the path coordinate system. This value determines the horizontal placement of all points within the corresponding path as they will all be calculated using this width attribute as the max x coordinate.