GraphicsShape

Module: engine.renderer.graphics
new game.GraphicsShape(lineWidth, lineColor, lineAlpha, fillColor, fillAlpha, shape)

Parameters:

  • lineWidth Number
  • lineColor String
  • lineAlpha Number
  • fillColor String
  • fillAlpha Number
  • shape Rectangle|Circle

Properties

fillAlpha Number

(No description yet)

fillColor String

(No description yet)

lineAlpha Number

(No description yet)

lineColor String

(No description yet)

lineWidth Number

(No description yet)

shape Arc|Circle|Rectangle

(No description yet)

Methods

_render(context, alpha)

(No description yet)

Parameters:

  • context CanvasRenderingContext2D
  • alpha Number
_renderShape(context)

(No description yet)

Parameters:

  • context CanvasRenderingContext2D