Skip to content

Mojo graphics canvas scissor

mojo:mojo.graphics.Canvas.Scissor

Property Scissor:std.geom.Recti#

The current scissor rect.

The scissor rect is a rect within the viewport that can be used for additional clipping.

Scissor rect coordinates are relative to the current viewport rect, but are not affected by the current drawing matrix.

This property must not be modified if the canvas is in lighting mode.