#

API Documentation for: 1.0.0
Show: Inherited Protected Private Deprecated

# Graphics.PolyStar Class

Defined in: `Graphics.PolyStar:2309`
Module: EaselJS

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

## Constructor

### `Graphics.PolyStar`

(

- `x`
- `y`
- `radius`
- `sides`
- `pointSize`
- `angle`

)

Defined in `Graphics.PolyStar:2309`

#### Parameters:

- `x` Number
- `y` Number
- `radius` Number
- `sides` Number
- `pointSize` Number
- `angle` Number

- Index
- Methods
- Properties

## Item Index

### Methods

- exec

### Properties

- angle
- pointSize
- radius
- sides
- x
- y

## Methods

### `exec`

(

- `ctx`

)

Defined in `exec:2344`

Execute the Graphics command in the provided Canvas context.

#### Parameters:

- `ctx` CanvasRenderingContext2D

  The canvas rendering context

## Properties

### `angle`

Number

Defined in `angle:2340`

### `pointSize`

Number

Defined in `pointSize:2336`

### `radius`

Number

Defined in `radius:2328`

### `sides`

Number

Defined in `sides:2332`

### `x`

Number

Defined in `x:2320`

### `y`

Number

Defined in `y:2324`