RenderLayer
Defined in: core/backend.ts:50
One named layer handed to a backend: GPU buffers + the vector view + optional clip.
Properties
Section titled “Properties”buffers
Section titled “buffers”buffers:
GroupBuffers
Defined in: core/backend.ts:52
clipTo?
Section titled “clipTo?”
optionalclipTo?:string
Defined in: core/backend.ts:55
Name of an earlier layer whose filled silhouette clips this one.
drawables
Section titled “drawables”drawables:
DrawableVector[]
Defined in: core/backend.ts:53
name:
string
Defined in: core/backend.ts:51
sizeMode?
Section titled “sizeMode?”
optionalsizeMode?:"world"|"screen"
Defined in: core/backend.ts:61
“world” (default): geometry scales with zoom. “screen”: constant pixel size — points and anchored glyphs keep a constant radius/size around their projected anchor, and strokes keep a constant pixel width about their world centerline. Applies to all geometry types.