draw

fun draw(    drawer: Drawer,     blind: Boolean = false,     update: Boolean = true)

Draw the current frame

Parameters

blind

only updates the frame data when true

update

does not update the frame data when false


fun draw(    drawer: Drawer,     x: Double = 0.0,     y: Double = 0.0,     width: Double = this.width.toDouble(),     height: Double = this.height.toDouble(),     blind: Boolean = false,     update: Boolean = true)

Draw the current frame at given position and size

Parameters

blind

only updates the frame data when true

update

does not update the frame data when false


fun draw(    drawer: Drawer,     source: Rectangle,     target: Rectangle,     blind: Boolean = false,     update: Boolean = true)

Draw the current frame using source and target rectangles

Parameters

source

the source rectangle

target

the target rectangle

blind

only updates the frame data when true

update

does not update the frame data when false

Sources

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard