API Docs for: 0.1.0
Show:

CG.Buffer Class

Extends CG.Class
Module: CG

CG.Buffer for separate canvas rendering/buffering

Item Index

Methods

Methods

init

(
  • width
  • height
)

Parameters:

  • width Number

    width of the buffer

  • height Number

    height of the buffer

Returns:

:

Properties

b_canvas.height

b_canvas.width

b_ctx

CanvasRenderingContext2D