scissor

inline fun scissor(x: Int, y: Int, width: Int, height: Int, block: () -> Unit)
inline fun scissor(x: Double, y: Double, width: Double, height: Double, block: () -> Unit)
inline fun scissor(x: Float, y: Float, width: Float, height: Float, block: () -> Unit)

Temporarily sets the scissor (visible rendering area) to x, y, width and height while block is executed.


inline fun scissor(rect: Rectangle?, block: () -> Unit)

Temporarily sets the scissor (visible rendering area) to rect is executed.


inline fun scissor(scissor: AGScissor, block: () -> Unit)

Temporarily sets the scissor (visible rendering area) to scissor is executed.