Class EraserTool

Hierarchy (view full)

Constructors

Properties

description: string

Methods

  • Returns the side-length of the tip of this eraser.

    Returns number

  • Called when the tool is removed/when the editor is destroyed. Subclasses that override this method must call super.onDestroy().

    Returns void

  • Returns true iff there are additional pointers down and the tool should remain active to handle the additional events.

    For most purposes, this should return false or nothing.

    Parameters

    Returns void

  • Sets the side-length of this' tip.

    Parameters

    • thickness: number

    Returns void

Generated using TypeDoc

OpenSource licenses