interface Particles implements EmbindObject<Particles>import { type Particles } from "https://deno.land/x/canvas@v1.0.4/mod.ts"; See SkParticleEffect.h for more details. Methodsdraw(canvas: SkCanvas): voidDraws the current state of the particles on the given canvas. effectUniforms(): Float32ArrayReturns a Float32Array bound to the WASM memory of these uniforms. Changing these floats will change the corresponding uniforms instantly. getEffectUniform(index: number): ParticlesUniformReturns the nth uniform from the effect. getEffectUniformCount(): numberReturns the number of uniforms on the effect. getEffectUniformFloatCount(): numberReturns the number of float uniforms on the effect. getEffectUniformName(index: number): stringReturns the name of the nth effect uniform. getParticleUniform(index: number): ParticlesUniformReturns the nth uniform on the particles. getParticleUniformCount(): numberReturns the count of uniforms on the particles. getParticleUniformFloatCount(): numberReturns the number of float uniforms on the particles. getParticleUniformName(index: number): stringReturns the name of the nth particle uniform. particleUniforms(): Float32ArrayReturns a Float32Array bound to the WASM memory of these uniforms. Changing these floats will change the corresponding uniforms instantly. setPosition(point: SkPoint): voidSets the base position of the effect. setRate(rate: number): voidSets the base rate of the effect. start(now: number, looping: boolean): voidStarts playing the effect. update(now: number): voidUpdates the effect using the new time.