tessera
Toggle table of contents
1.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
tessera
tessera
/
ratph6.tessera.api
/
Renderer
Renderer
object
Renderer
Members
Properties
graphics
Link copied to clipboard
@
JvmField
var
graphics
:
GuiGraphicsExtractor
?
Functions
color
Link copied to clipboard
@
JvmStatic
fun
color
(
r
:
Int
,
g
:
Int
,
b
:
Int
)
:
Int
@
JvmStatic
fun
color
(
r
:
Int
,
g
:
Int
,
b
:
Int
,
a
:
Int
)
:
Int
draw
Line
Link copied to clipboard
@
JvmStatic
fun
drawLine
(
color
:
Int
,
x1
:
Int
,
y1
:
Int
,
x2
:
Int
,
y2
:
Int
,
width
:
Int
)
draw
Rect
Link copied to clipboard
@
JvmStatic
fun
drawRect
(
color
:
Int
,
x
:
Int
,
y
:
Int
,
width
:
Int
,
height
:
Int
)
draw
String
Link copied to clipboard
@
JvmStatic
fun
drawString
(
text
:
String
,
x
:
Int
,
y
:
Int
,
color
:
Int
)
draw
String
With
Shadow
Link copied to clipboard
@
JvmStatic
fun
drawStringWithShadow
(
text
:
String
,
x
:
Int
,
y
:
Int
,
color
:
Int
)
get
Font
Height
Link copied to clipboard
@
JvmStatic
fun
getFontHeight
(
)
:
Int
get
Screen
Height
Link copied to clipboard
@
JvmStatic
fun
getScreenHeight
(
)
:
Int
get
Screen
Width
Link copied to clipboard
@
JvmStatic
fun
getScreenWidth
(
)
:
Int
get
String
Width
Link copied to clipboard
@
JvmStatic
fun
getStringWidth
(
text
:
String
)
:
Int