Skip to main content

Interface: RawLayer

Defined in: model/layer.ts:18

A named collection of rendered data objects sharing the same (e.g. physical) coordinate system

Extends

Properties

id

id: string

Defined in: model/layer.ts:22

Layer ID


name

name: string

Defined in: model/layer.ts:27

Human-readable layer name


opacity?

optional opacity: number

Defined in: model/layer.ts:48

Layer opacity, in the range [0, 1]

Default Value

layerDefaults.opacity


pointSizeFactor?

optional pointSizeFactor: number

Defined in: model/layer.ts:60

Layer-level point size scaling factor

A unitless scaling factor by which all point sizes are multiplied.

Can be used to adjust the size of all points in a layer relative to other layers. Note that point sizes are also affected by "./project".RawProject.drawOptions as well as "./points".RawPoints-specific settings.

Default Value

layerDefaults.pointSizeFactor


transform?

optional transform: SimilarityTransform

Defined in: model/layer.ts:34

Transformation from layer space to world space

Default Value

layerDefaults.transform


visibility?

optional visibility: boolean

Defined in: model/layer.ts:41

Layer visibility

Default Value

layerDefaults.visibility