public final class ObservableBezierCurveUtil extends Object
Observable
instances of BezierCurve
.Modifier and Type | Method and Description |
---|---|
static Observable<Point> |
deriveControlPoint(Observable<BezierCurve> observableBezierCurve)
Derives an
Observable Point from the given observable bezier curve that represents the control point. |
static Observable<Point> |
deriveEndPoint(Observable<BezierCurve> observableBezierCurve)
Derives an
Observable Point from the given observable bezier curve that represents the end point. |
static Observable<Point> |
deriveStartPoint(Observable<BezierCurve> observableBezierCurve)
Derives an
Observable Point from the given observable bezier curve that represents the start point. |
@NotNull public static Observable<Point> deriveStartPoint(@NotNull Observable<BezierCurve> observableBezierCurve)
Observable
Point
from the given observable bezier curve that represents the start point.
This observable point will be updated when the given observable bezier curve changes.
Notes:
null
value, the observable point instance will contain a null
value too.
Observable#setValue
will throw an exception for derived instances.
observableBezierCurve
- an observable bezier curve from which to derive the pointObservable
@NotNull public static Observable<Point> deriveControlPoint(@NotNull Observable<BezierCurve> observableBezierCurve)
Observable
Point
from the given observable bezier curve that represents the control point.
This observable point will be updated when the given observable bezier curve changes.
Notes:
null
value, the observable point instance will contain a null
value too.
Observable#setValue
will throw an exception for derived instances.
observableBezierCurve
- an observable bezier curve from which to derive the pointObservable
@NotNull public static Observable<Point> deriveEndPoint(@NotNull Observable<BezierCurve> observableBezierCurve)
Observable
Point
from the given observable bezier curve that represents the end point.
This observable point will be updated when the given observable bezier curve changes.
Notes:
null
value, the observable point instance will contain a null
value too.
Observable#setValue
will throw an exception for derived instances.
observableBezierCurve
- an observable bezier curve from which to derive the pointObservable