public final class ObservablePatchUtil extends Object
Observable
instance for Patch
.Modifier and Type | Method and Description |
---|---|
static Observable<Geometry> |
deriveBaseGeometry(Observable<Patch> observablePatch)
Derives an
Observable from the given observable patch that represents the base of the patch. |
@NotNull public static Observable<Geometry> deriveBaseGeometry(@NotNull Observable<Patch> observablePatch)
Observable
from the given observable patch that represents the base of the patch.
This observable geometry will be updated when the given observable patch changes.
Notes:
null
value, the observable ring instance will contain a null
value too.
Observable#setValue
will throw an exception for derived instances.
observablePatch
- an observable patch from which to derive the base geometryObservable