Class UIBorder
java.lang.Object
net.athonedevs.krork.nysvaui.NysvaUI
net.athonedevs.krork.nysvaui.components.border.UIBorder
- Direct Known Subclasses:
UIRainbowBorder
public class UIBorder extends NysvaUI
-
Field Summary
Fields inherited from class net.athonedevs.krork.nysvaui.NysvaUI
allowHover, components, enabled, font, hovering, krorkAPI, marginX, marginY, maxWidth, UIDimension
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description NysvaColor
getBackground()
int
getBorderRadius()
int
getBorderSize()
boolean
isRounded()
void
onClick()
void
render(java.awt.Graphics g)
void
setBackground(NysvaColor background)
void
setBorderRadius(int borderRadius)
void
setBorderSize(int borderSize)
void
setRounded(boolean rounded)
void
tick()
Methods inherited from class net.athonedevs.krork.nysvaui.NysvaUI
customizeFont, drawImage, getComponentID, getFont, getParent, getUIDimension, isAllowHover, isDraggable, isEnabled, isHovering, newFont, onMouseClicked, onMouseDragged, onMouseMove, setAllowHover, setDraggable, setEnabled, setFont, setMaxWidth, setParent, setUIDimension
-
Constructor Details
-
Method Details
-
tick
public void tick() -
render
public void render(java.awt.Graphics g) -
onClick
public void onClick() -
getBackground
-
setBackground
-
isRounded
public boolean isRounded() -
setRounded
public void setRounded(boolean rounded) -
getBorderSize
public int getBorderSize() -
setBorderSize
public void setBorderSize(int borderSize) -
getBorderRadius
public int getBorderRadius() -
setBorderRadius
public void setBorderRadius(int borderRadius)
-