Abstract
Abstract
axisThe canvas where component draw on.
The container which contain all of component's element.
Means that the component has been destroyed. Call any method on component when it has destroyed will got an error.
All info about draw. Except drawInfo, no more states be depended about draw. The same drawInfo must has same drawn on canvas and container. The this.gird should be merging in there in this.apply be called. Must can unscathed passed this.drawInfo = JSON.parse(JSON.stringify(this.drawInfo)).
Optional
elementOptional. Be filled in this.createElement. The HTML element which be needed by component draw.
Abstract
eventManage all extensions & Help component communicate for each other.
An ext extra
ExtraData
Component name. Be filled when the engine's class constructed.
A ratio for draw, it's using when draw on High DPI display
Generated after timeline.apply() called. If you wanna to specify some keys, passed a object when timeline.apply() called.
RuntimeInfo
Abstract
themeTheme name. Be filled when the theme's class constructed.
Static
defaultProtected
lPrint log if the DEBUG is true.
this.lHello world
Rest
...values: any[]Optional
runtime: Partial<RuntimeInfo>manually specify some runtime info.
Protected
checkProtected
countProtected
countProtected
countProtected
countProtected
countSet a whole drawInfo into component. The component still need this.apply called before draw when this.importDrawInfo been called.
Protected
initProtected
initProtected
initOptional
runtime: Partial<RuntimeInfo>Protected
stretchStatic
isStatic
mountMount a HTML element adding canvas and container. The HTML element passed will be cleared.
Generated using TypeDoc
Timeline self. There are 2 way to draw a timeline.