Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CacheableE

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private _cache

_cache: Surface

Private _cacheSize

_cacheSize: CommonSize

Private _hasTouchableChildren

_hasTouchableChildren: boolean

Private _matrix

_matrix: Matrix

Private _renderedCamera

_renderedCamera: Camera

Private _renderer

_renderer: Renderer

Private _shouldRenderChildren

_shouldRenderChildren: boolean

Private _targetCameras

_targetCameras: Camera[]

angle

angle: number

children

children: E[]

compositeOperation

compositeOperation: CompositeOperation

height

height: number

id

id: number

local

local: boolean

message

opacity

opacity: number

parent

parent: E | Scene

pointDown

pointMove

pointUp

scaleX

scaleX: number

scaleY

scaleY: number

scene

scene: Scene

state

tag

tag: any

targetCameras

targetCameras: Camera[]

touchable

touchable: boolean

update

update: Trigger<void>

width

width: number

x

x: number

y

y: number

Static Private PADDING

PADDING: number

Methods

Private _calculateBoundingRect

Private _disableTouchPropagation

  • _disableTouchPropagation(): void

Private _enableTouchPropagation

  • _enableTouchPropagation(): void

Private _isTargetOperation

Private _updateMatrix

  • _updateMatrix(): void

append

  • append(e: E): void
  • Parameters

    • e: E

    Returns void

calculateBoundingRect

calculateCacheSize

  • Returns CommonSize

destroy

  • destroy(): void

destroyed

  • destroyed(): boolean

findPointSourceByPoint

game

  • Returns Game

getMatrix

hide

  • hide(): void
  • Returns void

insertBefore

  • insertBefore(e: E, target: E): void
  • Parameters

    • e: E
    • target: E

    Returns void

invalidate

  • invalidate(): void
  • Returns void

modified

  • modified(isBubbling?: boolean): void
  • Parameters

    • Optional isBubbling: boolean

    Returns void

moveBy

  • moveBy(x: number, y: number): void
  • Parameters

    • x: number
    • y: number

    Returns void

moveTo

  • moveTo(x: number, y: number): void
  • moveTo(obj: CommonOffset): void
  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    Returns void

remove

  • remove(e?: E): void
  • Parameters

    • Optional e: E

    Returns void

render

  • Parameters

    Returns void

renderCache

  • Parameters

    Returns void

renderSelf

renderSelfFromCache

  • renderSelfFromCache(renderer: Renderer): void
  • Parameters

    Returns void

resizeBy

  • resizeBy(width: number, height: number): void
  • Parameters

    • width: number
    • height: number

    Returns void

resizeTo

  • resizeTo(width: number, height: number): void
  • resizeTo(size: CommonSize): void
  • Parameters

    • width: number
    • height: number

    Returns void

  • Parameters

    Returns void

scale

  • scale(scale: number): void
  • Parameters

    • scale: number

    Returns void

shouldFindChildrenByPoint

show

  • show(): void
  • Returns void

visible

  • visible(): boolean
  • Returns boolean

Generated using TypeDoc