new JC.FrameBuffer()
帧缓冲区
Methods
-
clear()
-
清除缓冲区
-
getBuffer(){ImageData}
-
获取缓冲区的像素
Returns:
Type Description ImageData -
putBuffer(){canvas}
-
放置像素到缓冲区
Returns:
Type Description canvas -
setSize(rect)
-
设置缓冲区大小
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