aboutsummaryrefslogtreecommitdiff
path: root/src/client/java/dev/isxander/yacl/api/utils/MutableDimension.java
blob: eff0186b666d114853f305dd48e0fc29c7b1cdac (plain)
1
2
3
4
5
6
7
8
9
10
11
package dev.isxander.yacl.api.utils;

public interface MutableDimension<T extends Number> extends Dimension<T> {
    MutableDimension<T> setX(T x);
    MutableDimension<T> setY(T y);
    MutableDimension<T> setWidth(T width);
    MutableDimension<T> setHeight(T height);

    MutableDimension<T> move(T x, T y);
    MutableDimension<T> expand(T width, T height);
}