public interface ICroppable
| Modifier and Type | Method and Description |
|---|---|
IGuiElement |
getCropElement() |
int |
getCropHeight() |
int |
getCropWidth() |
int |
getCropX() |
int |
getCropY() |
boolean |
isCropped() |
void |
setCroppedZone(IGuiElement cropElement,
int cropX,
int cropY,
int cropWidth,
int cropHeight)
Sets the cropped zone of this element and the element the zone is relative to.
|
void setCroppedZone(@Nullable
IGuiElement cropElement,
int cropX,
int cropY,
int cropWidth,
int cropHeight)
cropElement - The element the zone is relative to.cropX - The x start coordinate of the zone.cropY - The y start coordinate of the zone.cropWidth - The width of the zone.cropHeight - The height of the zone.@Nullable IGuiElement getCropElement()
int getCropX()
int getCropY()
int getCropWidth()
int getCropHeight()
boolean isCropped()
setCroppedZone(IGuiElement, int, int, int, int) was ever called on this element.