[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.0" ) ]
public Alpha.with_func (Timeline timeline, owned AlphaFunc func)
Creates a new Alpha instances and sets the timeline and the alpha function.
Use Timeline instead
This function will not register func
as a global alpha function.
See also set_timeline and set_func.
timeline |
a Timeline |
func | |
data |
data to pass to the function, or |
destroy |
function to call when removing the alpha function, or |
the newly created Alpha |