public interface IClipable
UIComponent) that they need to provide a ClipArea.| Modifier and Type | Method and Description |
|---|---|
ClipArea |
getClipArea()
Gets
ClipArea to be used for glScissor |
int |
getHeight()
Gets the with of this
IClipable. |
UIComponent<?> |
getParent()
Gets the parent
UIComponent of this IClipable. |
int |
getWidth()
Gets the with of this
IClipable. |
int |
screenX()
Gets the X position on the screen.
|
int |
screenY()
Gets the Y position on the screen.
|
void |
setClipContent(boolean clip)
Sets whether this
IClipable should clip or not. |
boolean |
shouldClipContent()
Checks whether this
IClipable should clip or not. |
void setClipContent(boolean clip)
IClipable should clip or not.clip - the new clip contentboolean shouldClipContent()
IClipable should clip or not.int screenX()
UIComponent.screenX().int screenY()
UIComponent.screenY().int getWidth()
IClipable. See UIComponent.getWidth().int getHeight()
IClipable. See UIComponent.getHeight().UIComponent<?> getParent()
UIComponent of this IClipable.