@tawaship/pixi-animate-runtime - v0.1.0
    Preparing search index...

    Class Graphics

    createjs-compatible Graphics holding the drawing commands of a definition.

    Index
    • Parameters

      Returns Graphics

    commands: IGraphicsCommandDef[]
    textures: ITextureSource
    • get instructions(): GraphicsCommand[]

      The commands as createjs's command objects (made when first read)

      Returns GraphicsCommand[]

    • The drawing as a Pixi geometry, drawn the first time it is asked for and shared from then on by every shape that shows this drawing (a shape's Pixi node must therefore not be drawn into: that would change it for all)

      Returns GraphicsGeometry

    • The MoveTo commands that start holes in the filled paths (worked out once per drawing and shared by every shape that shows it)

      Returns IGraphicsCommandDef[]

    • Returns boolean

    • The drawing as a mask (its path filled), shared the same way

      Returns GraphicsGeometry

    • The holes of the drawing as a mask (all of it one path)

      Returns IGraphicsCommandDef[]