watchingImagePath

fun watchingImagePath(pathProperty: KProperty0<String>, imageChangedEvent: Event<ColorBuffer>? = null, imageTransform: (ColorBuffer) -> ColorBuffer = { it }): PropertyWatcherDelegate<String, ColorBuffer>(source)

Delegate property value by watching a path property

Since

0.4.3

Parameters

pathProperty

the property holding a path to watch

imageTransform

an optional image transform function