Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ShapePath

Index

Constructors

  • Create the ShapePath used to support glyphs

    Parameters

    • resolution: number

    Returns ShapePath

Accessors

  • Gets the list of holes

    Returns Path2[]

  • Gets the list of paths

    Returns Path2[]

Methods

  • bezierCurveTo(cpx1: number, cpy1: number, cpx2: number, cpy2: number, x: number, y: number): void
  • Create a bezier curve from the virtual cursor to a given coordinate

    Parameters

    • cpx1: number
    • cpy1: number
    • cpx2: number
    • cpy2: number
    • x: number
    • y: number

    Returns void

  • extractHoles(): void
  • Extract holes based on CW / CCW

    Returns void

  • lineTo(x: number, y: number): void
  • Draw a line from the virtual cursor to a given coordinate

    Parameters

    • x: number
    • y: number

    Returns void

  • moveTo(x: number, y: number): void
  • Move the virtual cursor to a coordinate

    Parameters

    • x: number
    • y: number

    Returns void

  • quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void
  • Create a quadratic curve from the virtual cursor to a given coordinate

    Parameters

    • cpx: number
    • cpy: number
    • x: number
    • y: number

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme