Class: FrameBuffer

FrameBuffer

new JC.FrameBuffer()

帧缓冲区

Methods

清除缓冲区

getBuffer(){ImageData}

获取缓冲区的像素

Returns:
Type Description
ImageData

放置像素到缓冲区

Returns:
Type Description
canvas

设置缓冲区大小

Name Type Description
rect JC.Rectangle

获取到的尺寸

setTransform(a, b, c, d, e, f)

设置绘图上下文的变换矩阵

Name Type Description
a number
b number
c number
d number
e number
f number