Skip to main content

shapes

Interfaces

IShapesDataSourceModel

Defined in: models/shapes.ts:32

A data source for 2D shape clouds

Extends

Type Parameters

TType

TType extends string = string

Properties

path?

optional path: string

Defined in: models/base.ts:45

Local path (relative to workspace root)

Inherited from

IDataSourceModel.path

type

type: TType

Defined in: models/base.ts:39

Data source type

Inherited from

IDataSourceModel.type

url?

optional url: string

Defined in: models/base.ts:42

Remote URL (absolute or relative to TissUUmaps root)

Inherited from

IDataSourceModel.url


IShapesLayerConfigModel

Defined in: models/shapes.ts:37

A layer-specific display configuration for 2D shape clouds

Extends

Properties

flip?

optional flip: boolean

Defined in: models/base.ts:54

Horizontal reflection, applied before transformation (defaults to false)

Inherited from

ILayerConfigModel.flip

layerId

layerId: string | TableValuesColumn

Defined in: models/base.ts:51

Layer ID for all items, or column containing item-wise layer IDs

Inherited from

ILayerConfigModel.layerId

transform?

optional transform: Partial<SimilarityTransform>

Defined in: models/base.ts:57

Transformation from data/object space to layer space (defaults to identity transform)

Inherited from

ILayerConfigModel.transform


IShapesModel

Defined in: models/shapes.ts:9

A 2D shape cloud

Extends

Properties

colorMap?

optional colorMap: string | {[key: string]: Color; }

Defined in: models/shapes.ts:15

Global color map ID or custom color map

dataSource

dataSource: IShapesDataSourceModel

Defined in: models/base.ts:17

Data source

Inherited from

IRenderedDataModel.dataSource

id

id: string

Defined in: models/base.ts:11

ID

Inherited from

IRenderedDataModel.id

layerConfigs

layerConfigs: IShapesLayerConfigModel[]

Defined in: models/base.ts:32

Layer configurations

Inherited from

IRenderedDataModel.layerConfigs

name

name: string

Defined in: models/base.ts:14

Name

Inherited from

IRenderedDataModel.name

opacity?

optional opacity: number

Defined in: models/base.ts:29

Opacity, between 0 and 1 (defaults to 1)

Inherited from

IRenderedDataModel.opacity

opacityMap?

optional opacityMap: string | {[key: string]: number; }

Defined in: models/shapes.ts:27

Global opacity map ID or custom opacity map

shapeColor?

optional shapeColor: Color | TableValuesColumn | TableGroupsColumn

Defined in: models/shapes.ts:12

Color for all shapes, or a column containing shape-wise colors/group names (defaults to random)

shapeOpacity?

optional shapeOpacity: number | TableValuesColumn | TableGroupsColumn

Defined in: models/shapes.ts:24

Opacity for all shapes, between 0 and 1, or a column containing shape-wise opacities/group names (defaults to 1)

shapeVisibility?

optional shapeVisibility: boolean | TableValuesColumn | TableGroupsColumn

Defined in: models/shapes.ts:18

Visibility for all shapes, or a column containing shape-wise visibilities/group names (defaults to true)

visibility?

optional visibility: boolean

Defined in: models/base.ts:26

Visibility (defaults to true)

Inherited from

IRenderedDataModel.visibility

visibilityMap?

optional visibilityMap: string | {[key: string]: boolean; }

Defined in: models/shapes.ts:21

Global visibility map ID or custom visibility map