ZKApp class

Constructors

ZKApp()

Properties

appHeight double
no setter
appWidth double
no setter
context → ZKContext?
no setter
debug bool
getter/setter pair
delay double
getter/setter pair
destroyed bool
getter/setter pair
fps int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
onDispose Function?
getter/setter pair
ratio double
//////////////////////////////////////////////////////
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
no setter
stage ZKStage
getter/setter pair
type String
getter/setter pair

Methods

customDraw(Canvas canvas) → dynamic
dispose() → dynamic
getRandomA2B(double a, double b) double
getRandomColor() Color
getRandomPosition() → Point
getTimeRatio(int milliseconds) double
init() → dynamic
/////////////////////////////////////////////////////////
mounted() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
panEnd(ZKEvent event) → dynamic
panStart(ZKEvent event) → dynamic
panUpdate(ZKEvent event) → dynamic
render(Canvas canvas) → dynamic
resize(Size size) → dynamic
tapDown(ZKEvent event) → dynamic
/////////////////////////////////////////////////////////
tapUp(ZKEvent event) → dynamic
toSecond(int milliseconds) double
toString() String
A string representation of this object.
override
update(int time) → dynamic

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

enableFixLongInterval bool
getter/setter pair
longIntervalTime double
getter/setter pair

Static Methods

fullScreen() → void