translatedNonRendering

public final GuiImmediateContext translatedNonRendering(Integer xOffset, Integer yOffset, Integer width, Integer height)(source)

Construct a new context representing that is located within this context. Does not translate the rendering offset.

Parameters

xOffset

relative x position of the new context in the current context

yOffset

relative y position of the new context in the current context

width

width of the new sub context

height

height of the new sub context