MCPcopy Create free account
hub / github.com/Tencent/tgfx / constructor

Method constructor

web/src/wechat/array-buffer-image.ts:30–34  ·  view source on GitHub ↗
(buffer: ArrayBuffer, width: number, height: number)

Source from the content-addressed store, hash-verified

28 public width: number;
29 public height: number;
30 public constructor(buffer: ArrayBuffer, width: number, height: number) {
31 this.buffer = buffer;
32 this.width = width;
33 this.height = height;
34 }
35
36 public setFrameData(frameData: FrameData) {
37 this.buffer = frameData.data;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected