Module Types/ShapeDrawerFunctions
Types Type aliases
ShapeDrawerAfterEffectFunction
Shape
DrawerAfterEffectFunction: (context: CanvasRenderingContext2D, particle: IParticle, radius: number, opacity: number, delta: IDelta, pixelRatio: number) => void
Type declaration
-
- (context: CanvasRenderingContext2D, particle: IParticle, radius: number, opacity: number, delta: IDelta, pixelRatio: number): void
-
Parameters
-
context: CanvasRenderingContext2D
-
-
radius: number
-
opacity: number
-
-
pixelRatio: number
Returns void
ShapeDrawerDestroyFunction
Shape
DrawerDestroyFunction: (container: Container) => void
ShapeDrawerDrawFunction
Shape
DrawerDrawFunction: (context: CanvasRenderingContext2D, particle: IParticle, radius: number, opacity: number, delta: IDelta, pixelRatio: number) => void
Type declaration
-
- (context: CanvasRenderingContext2D, particle: IParticle, radius: number, opacity: number, delta: IDelta, pixelRatio: number): void
-
Parameters
-
context: CanvasRenderingContext2D
-
-
radius: number
-
opacity: number
-
-
pixelRatio: number
Returns void
ShapeDrawerInitFunction
Shape
DrawerInitFunction: (container: Container) => Promise<void>
Type declaration
-
-
Parameters
Returns Promise<void>
ShapeDrawerParticleInitFunction
ShapeDrawerSidesCountFunction
Shape
DrawerSidesCountFunction: (particle: IParticle) => number
Type declaration
-
-
Parameters
Returns number