CanvasKit is built with Emscripten and Embind. Embind adds the following methods to all objects
that are exposed with it.
This _type field is necessary for the TypeScript compiler to differentiate
between opaque types such as Shader and ColorFilter. It doesn't exist at runtime.
CanvasKit is built with Emscripten and Embind. Embind adds the following methods to all objects that are exposed with it. This _type field is necessary for the TypeScript compiler to differentiate between opaque types such as Shader and ColorFilter. It doesn't exist at runtime.