Skip to content

Latest commit

 

History

History
72 lines (57 loc) · 1.76 KB

CanvasLineTo.md

File metadata and controls

72 lines (57 loc) · 1.76 KB

CanvasLineTo

Kind: global class
Npmpackage:

new CanvasLineTo()

Custom constants to identify the functions used for drawing shapes based on lines and curves.

import { CanvasLineTo } from 'ad-canvas'

CanvasLineTo.MOVE : string

Represents 'moveTo'

Kind: static constant of CanvasLineTo
Example

CanvasLineTo.MOVE

CanvasLineTo.LINE : string

Represents 'lineTo'.

Kind: static constant of CanvasLineTo
Example

CanvasLineTo.LINE

CanvasLineTo.QUAD : string

Represents 'quadraticCurveTo'.

Kind: static constant of CanvasLineTo
Example

CanvasLineTo.QUAD

CanvasLineTo.BEZIER : string

Represents 'bezierCurveTo'.

Kind: static constant of CanvasLineTo
Example

CanvasLineTo.BEZIER

CanvasLineTo.ARC : string

Represents 'arcTo'.

Kind: static constant of CanvasLineTo
Example

CanvasLineTo.ARC