Implements

Constructors

  • Create a PathObjectUtils instance. Instead of creating an instance in new mode, use create to create an instance.

    Parameters

    • Optionaloptions: Options

      Create a PathObjectUtils instance with the specified options.

    Returns PathObjectUtils

    const pathObjectUtils = await PathObjectUtils.create();
    

Properties

options?: Options

Methods

  • Set the line width of the current path object.

    Parameters

    Returns Promise<boolean>

    A promise that resolves to true if successful, false otherwise.

  • Set the miter limit of the current path object.

    Parameters

    Returns Promise<boolean>

    A promise that resolves to true if successful, false otherwise.

  • Create a PathObjectUtils instance.

    Parameters

    • Optionaloptions: Options

      Create a PathObjectUtils instance with the specified options.

    Returns Promise<PathObjectUtilsType>

    const pathObjectUtils = await PathObjectUtils.create();