View source
abstract AbstractDisplayObjectFactory<T, B>(DisplayObjectFactory<T, B>)
package feathers.utils
from DisplayObjectFactory<T, B>, to DisplayObjectFactory<T, B>
An abstract that accepts a DisplayObjectFactory
, a function, a class, or
a display object instance.
Available since
1.0.0
.Static methods
staticfromClass<T, B>(type:Class<T>):AbstractDisplayObjectFactory<T, B>
Converts a class value to a feathers.utils.DisplayObjectFactory
value.
Available since
1.0.0
.staticfromDisplayObject<T, B>(displayObject:T):AbstractDisplayObjectFactory<T, B>
Converts a display object value to a
feathers.utils.DisplayObjectFactory
value.
Available since
1.0.0
.staticfromFunction<T, B>(func:() ‑> T):AbstractDisplayObjectFactory<T, B>
Converts a function value to a feathers.utils.DisplayObjectFactory
value.
Available since
1.0.0
.