Available since

1.0.0

.

Static methods

@:fromstaticfromClass<T> (type:Class<T>):DisplayObjectClassOrFunction<T>

Accepts a Class that extends DisplayObject and creates a function that instantiates an instance of that class. The function has the following signature:

() -> DisplayObject
Available since

1.0.0

.