public interface IPolylineConstraint
Polyline
editing.
This can for example be configured on a PolylineHandlesProvider
.
Modifier and Type | Method and Description |
---|---|
Polyline |
apply(Polyline polyline)
Applies this constraint on a polyline without a (known) change.
|
Polyline |
apply(Polyline oldPolyline,
Polyline newPolyline,
PolylineChange changes)
Applies this constraint on a pending change.
|
@NotNull Polyline apply(@NotNull Polyline oldPolyline, @NotNull Polyline newPolyline, @NotNull PolylineChange changes)
oldPolyline
- the base polyline on which the change is performed, cannot be null
.newPolyline
- the result of the change, without any constraints applied, cannot be null
.changes
- the change that was applied.newPolyline
. Cannot be null
.@NotNull Polyline apply(@NotNull Polyline polyline)
polyline
- the polyline to constrain, cannot be null
.polyline
. Cannot be null
.