Class: GraphicsView

GraphicsView

Implements

  • View

Members

_didUpdate boolean

Methods

destroy (options) void

Destroys this graphics renderable and optionally its context.

If the context was created by this graphics view and destroy(false) or destroy() is called then the context will still be destroyed.

If you want to explicitly not destroy this context that this graphics created, then you should pass destroy({ context: false })

If the context was passed in as an argument to the constructor then it will not be destroyed

Name Type Attributes Default Description
options TypeOrBool<ContextDestroyOptions & TextureDestroyOptions>

Options parameter. A boolean will act as if all options

options.texture boolean <optional>
false

Should destroy the texture of the graphics context

options.textureSource boolean <optional>
false

Should destroy the texture source of the graphics context

options.context boolean <optional>
false

Should destroy the context