Paint

class Paint(script: AbstractScript?, items: List<List<PaintItem>>, backgroundColor: Int, textColor: Int, x: Int, y: Int, minWidth: Int, minHeight: Int, sendToDiscord: Boolean, minimizable: Boolean)

Types

Companion
Link copied to clipboard
object Companion

Functions

deregister
Link copied to clipboard
fun deregister()
onRender
Link copied to clipboard
fun onRender(renderEvent: RenderEvent)
onTouchEvent
Link copied to clipboard
fun onTouchEvent(evt: TouchEvent)
register
Link copied to clipboard
fun register()
save
Link copied to clipboard
fun save(os: OutputStream): Boolean

Properties

backgroundColor
Link copied to clipboard
val backgroundColor: Int
border
Link copied to clipboard
val border: DynamicColor
currHeight
Link copied to clipboard
var currHeight: Int
currWidth
Link copied to clipboard
var currWidth: Int
items
Link copied to clipboard
val items: List<List<PaintItem>>
lastDragOffset
Link copied to clipboard
val lastDragOffset: AtomicReference<Point?>
logger
Link copied to clipboard
val logger: Logger
minHeight
Link copied to clipboard
val minHeight: Int
minimizable
Link copied to clipboard
val minimizable: Boolean
minimizeButtonBounds
Link copied to clipboard
var minimizeButtonBounds: AtomicReference<Rectangle?>
minimized
Link copied to clipboard
var minimized: AtomicBoolean
minWidth
Link copied to clipboard
val minWidth: Int
paintBounds
Link copied to clipboard
var paintBounds: AtomicReference<Rectangle?>
script
Link copied to clipboard
val script: AbstractScript?
sendToDiscord
Link copied to clipboard
val sendToDiscord: Boolean
textColor
Link copied to clipboard
val textColor: Int
x
Link copied to clipboard
var x: Int
y
Link copied to clipboard
var y: Int