#

API Documentation for: NEXT
Show: Inherited Protected Private Deprecated

# Graphics.LineTo Class

Defined in: `Graphics.LineTo:1619`
Module: EaselJS

Graphics command object. See lineTo and append for more information. See Graphics and append for more information.

## Constructor

### `Graphics.LineTo`

(

- `x`
- `y`

)

Defined in `Graphics.LineTo:1619`

#### Parameters:

- `x` Number
- `y` Number

- Index
- Methods
- Properties

## Item Index

### Methods

- exec

### Properties

- x
- y

## Methods

### `exec`

(

- `ctx`

)

Defined in `exec:1634`

Execute the Graphics command in the provided Canvas context.

#### Parameters:

- `ctx` CanvasRenderingContext2D

  The canvas rendering context

## Properties

### `x`

Number

Defined in `x:1626`

### `y`

Number

Defined in `y:1630`