withBleed

public final GuiImmediateContext withBleed(Integer xBleed, Integer yBleed)(source)

Construct a new context that bleeds out over the boundaries of the existing context. This is usually used for more fuzzy click detection.

Parameters

xBleed

extra size in the negative and positive x direction

yBleed

extra size in the negative and positive y direction