Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Types/ShapeDrawerFunctions

Index

Types Type aliases

ShapeDrawerAfterEffectFunction

ShapeDrawerAfterEffectFunction: (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
      • particle: IParticle
      • radius: number
      • opacity: number
      • delta: IDelta
      • pixelRatio: number

      Returns void

ShapeDrawerDestroyFunction

ShapeDrawerDestroyFunction: (container: Container) => void

Type declaration

ShapeDrawerDrawFunction

ShapeDrawerDrawFunction: (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
      • particle: IParticle
      • radius: number
      • opacity: number
      • delta: IDelta
      • pixelRatio: number

      Returns void

ShapeDrawerInitFunction

ShapeDrawerInitFunction: (container: Container) => Promise<void>

Type declaration

    • Parameters

      Returns Promise<void>

ShapeDrawerParticleInitFunction

ShapeDrawerParticleInitFunction: (container: Container, particle: IParticle) => void

Type declaration

ShapeDrawerSidesCountFunction

ShapeDrawerSidesCountFunction: (particle: IParticle) => number

Type declaration