package dev.isxander.yacl.api.utils; import dev.isxander.yacl.impl.utils.DimensionIntegerImpl; public interface Dimension { T x(); T y(); T width(); T height(); T xLimit(); T yLimit(); boolean isPointInside(T x, T y); static Dimension ofInt(int x, int y, int width, int height) { return new DimensionIntegerImpl(x, y, width, height); } }