Interface IArcBandConstraint
public interface IArcBandConstraint
-
Method Summary
-
Method Details
-
apply
@NotNull ArcBand apply(@NotNull ArcBand oldArcBand, @NotNull ArcBand newArcBand, @NotNull ArcBandChange change) Applies this constraint on a pending change.- Parameters:
oldArcBand- The base arc band on which the change is performed, cannot benull.newArcBand- The result of the change, without any constraints applied, cannot benull.change- The change that was applied.- Returns:
- The resulting arc band, after applying this constraint on the pending change. If the constraint does not apply, simply return the
newArcBand. Cannot benull.
-
apply
Applies this constraint on a arc band without a (known) change.- Parameters:
arcBand- The arc band to constrain, cannot benull.- Returns:
- The resulting arc band, after applying this constraint. If the constraint does not apply, simply return the
arcBand. Cannot benull.
-