CullOptions
Defined in: labels/cull.ts:43
Properties
Section titled “Properties”padding?
Section titled “padding?”
optionalpadding?:number
Defined in: labels/cull.ts:46
Anchors within this many pixels outside the viewport are still considered.
scratch?
Section titled “scratch?”
optionalscratch?:LabelCullScratch
Defined in: labels/cull.ts:49
Reusable buffers, so a per-frame caller allocates nothing (see labelCullScratch). Omitted ⇒ a fresh one per call.
viewport
Section titled “viewport”viewport:
object
Defined in: labels/cull.ts:44
height
Section titled “height”height:
number
width:
number