Plexora

LayerRecord

One layer of the sample, as ctx.layers.list() and find() return it.

Generated from Plexora 0.0.55View source

Properties

idstringrequired

Stable id of the layer within the sample.

kindstringrequired

How it is drawn: "image", "labels", "points" or "shapes".

labelstringrequired

The name shown on its card.

visiblebooleanrequired

Whether it is currently drawn.

opacitynumberrequired

0 to 1.

transform?number[]required

Affine placement in image coordinates, or null for the identity.

modality?stringrequired

What the data means (for example "transcripts", "he"), set by whoever created the layer.

source?stringrequired

Where the layer's data came from.

statusstringrequired

"ready", "pending" while it is being prepared, or "failed".

unresolvedstring[]required

Questions the importer could not answer for this layer yet.

src?stringrequired

Tile source URL, for tiled layers.

width?numberrequired

Full-resolution width in pixels.

height?numberrequired

Full-resolution height in pixels.

maxLevel?numberrequired

Deepest pyramid level.

tileWidth?numberrequired

Tile width in pixels.

tileHeight?numberrequired

Tile height in pixels.