Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Plugins/PolygonMask/PolygonMaskInstance

Index

Type aliases

IPolygonMaskOptions

IPolygonMaskOptions: IOptions & { polygon: IPolygonMask }

SvgAbsoluteCoordinatesTypes

SvgAbsoluteCoordinatesTypes: SVGPathSegArcAbs | SVGPathSegCurvetoCubicAbs | SVGPathSegCurvetoCubicSmoothAbs | SVGPathSegCurvetoQuadraticAbs | SVGPathSegCurvetoQuadraticSmoothAbs | SVGPathSegLinetoAbs | SVGPathSegMovetoAbs

SvgRelativeCoordinatesTypes

SvgRelativeCoordinatesTypes: SVGPathSegArcRel | SVGPathSegCurvetoCubicRel | SVGPathSegCurvetoCubicSmoothRel | SVGPathSegCurvetoQuadraticRel | SVGPathSegCurvetoQuadraticSmoothRel | SVGPathSegLinetoRel | SVGPathSegMovetoRel

Functions

drawPolygonMask

drawPolygonMaskPath

  • drawPolygonMaskPath(context: CanvasRenderingContext2D, path: Path2D, stroke: IDrawStroke, position: ICoordinates): void

parsePaths

polygonBounce

  • polygonBounce(particle: Particle): void