API Docs for: 0.3
Show:

LinePrototype Class

Module: LinePrototype
Parent Module: Render

Line rendering for paths and walls prototype.

Constructor

LinePrototype

(
  • color
)
LinePrototype

Parameters:

Returns:

LinePrototype:

Line prototype

Methods

addJoint

(
  • x
  • y
  • options
)
Render.Joint

Create a joint in a position.

Parameters:

Returns:

Render.Joint:

addJointFromModel

(
  • joint
)
Render.Joint

Add a render joint from a joint entity.

Parameters:

Returns:

Render.Joint:

render joint

createGraphics

(
  • line
)

Create base graphics.

Parameters:

destroy

()

Destroy base graphics.

Line

(
  • line
)

Line rendering for paths and walls.

Parameters:

render

(
  • options
)

Animate joint, position and radius.

Parameters: