Class: TextEncodeEnter
_Enter properties that are evaluated when data for a text mark is processed for the first time and the _
group mark is newly added to a scene.
URI: vega_scverse:TextEncodeEnter
classDiagram
class TextEncodeEnter
click TextEncodeEnter href "../TextEncodeEnter"
TextEncodeEnter : align
TextEncodeEnter --> "1" HorizontalAlignEnum : align
click HorizontalAlignEnum href "../HorizontalAlignEnum"
TextEncodeEnter : angle
TextEncodeEnter : baseline
TextEncodeEnter --> "1" BaseLineEnum : baseline
click BaseLineEnum href "../BaseLineEnum"
TextEncodeEnter : fill
TextEncodeEnter --> "1" RGBHexItem : fill
click RGBHexItem href "../RGBHexItem"
TextEncodeEnter : fillOpacity
TextEncodeEnter : font
TextEncodeEnter --> "1" FontItem : font
click FontItem href "../FontItem"
TextEncodeEnter : fontSize
TextEncodeEnter --> "1" FontSizeItem : fontSize
click FontSizeItem href "../FontSizeItem"
TextEncodeEnter : fontStyle
TextEncodeEnter --> "1" FontStyleItem : fontStyle
click FontStyleItem href "../FontStyleItem"
TextEncodeEnter : fontWeight
TextEncodeEnter --> "1" FontWeightItem : fontWeight
click FontWeightItem href "../FontWeightItem"
TextEncodeEnter : text
TextEncodeEnter --> "1" TextItem : text
click TextItem href "../TextItem"
TextEncodeEnter : x
TextEncodeEnter --> "1" PositionItem : x
click PositionItem href "../PositionItem"
TextEncodeEnter : y
TextEncodeEnter --> "1" PositionItem : y
click PositionItem href "../PositionItem"
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
x | 1 PositionItem |
direct | |
y | 1 PositionItem |
direct | |
text | 1 TextItem |
direct | |
align | 1 HorizontalAlignEnum |
The horizontal text alignment relative to the text anchor point | direct |
angle | 0..1 Float |
The rotation angle of the text in degrees | direct |
baseline | 1 BaseLineEnum |
The baseline attribute specifies the vertical alignment (baseline) of the tex... | direct |
font | 1 FontItem |
direct | |
fontSize | 1 FontSizeItem |
direct | |
fontWeight | 1 FontWeightItem |
direct | |
fontStyle | 1 FontStyleItem |
direct | |
fill | 1 RGBHexItem |
The color of the text | direct |
fillOpacity | 0..1 String |
Opacity of the text | direct |
Usages
used by | used in | type | used |
---|---|---|---|
TextEncode | enter | range | TextEncodeEnter |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/scverse/vega-scverse/specification
Mappings
Mapping Type | Mapped Value |
---|---|
self | vega_scverse:TextEncodeEnter |
native | vega_scverse:TextEncodeEnter |
LinkML Source
Direct
name: TextEncodeEnter
description: "Enter properties that are evaluated when data for a text mark is processed\
\ for the first time and the \ngroup mark is newly added to a scene."
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
x:
name: x
from_schema: https://w3id.org/scverse/vega-scverse/encode
domain_of:
- PointsEncodeEnter
- PathEncodeEnter
- TextEncodeEnter
- GroupEncodeEnter
range: PositionItem
required: true
y:
name: y
from_schema: https://w3id.org/scverse/vega-scverse/encode
domain_of:
- PointsEncodeEnter
- PathEncodeEnter
- TextEncodeEnter
- GroupEncodeEnter
range: PositionItem
required: true
text:
name: text
from_schema: https://w3id.org/scverse/vega-scverse/encode
domain_of:
- Title
- TextEncodeEnter
range: TextItem
required: true
align:
name: align
description: The horizontal text alignment relative to the text anchor point.
from_schema: https://w3id.org/scverse/vega-scverse/encode
rank: 1000
domain_of:
- TextEncodeEnter
range: HorizontalAlignEnum
required: true
angle:
name: angle
description: The rotation angle of the text in degrees.
from_schema: https://w3id.org/scverse/vega-scverse/encode
rank: 1000
domain_of:
- TextEncodeEnter
range: float
minimum_value: 0
maximum_value: 359
baseline:
name: baseline
description: The baseline attribute specifies the vertical alignment (baseline)
of the text relative to its y-coordinate.
from_schema: https://w3id.org/scverse/vega-scverse/encode
domain_of:
- Title
- TextEncodeEnter
range: BaseLineEnum
required: true
font:
name: font
from_schema: https://w3id.org/scverse/vega-scverse/encode
domain_of:
- Title
- TextEncodeEnter
range: FontItem
required: true
fontSize:
name: fontSize
from_schema: https://w3id.org/scverse/vega-scverse/encode
domain_of:
- Title
- TextEncodeEnter
range: FontSizeItem
required: true
fontWeight:
name: fontWeight
from_schema: https://w3id.org/scverse/vega-scverse/encode
domain_of:
- Title
- TextEncodeEnter
range: FontWeightItem
required: true
fontStyle:
name: fontStyle
from_schema: https://w3id.org/scverse/vega-scverse/encode
domain_of:
- Title
- TextEncodeEnter
range: FontStyleItem
required: true
fill:
name: fill
description: The color of the text
from_schema: https://w3id.org/scverse/vega-scverse/encode
domain_of:
- Legend
- ImageEncodeEnter
- LabelEncodeEnter
- PointsEncodeEnter
- PathEncodeEnter
- TextEncodeEnter
- MarkEncodeUpdate
range: RGBHexItem
required: true
fillOpacity:
name: fillOpacity
description: Opacity of the text.
from_schema: https://w3id.org/scverse/vega-scverse/encode
slot_uri: opacityValueSlot
domain_of:
- LabelEncodeEnter
- PointsEncodeEnter
- PathEncodeEnter
- TextEncodeEnter
Induced
name: TextEncodeEnter
description: "Enter properties that are evaluated when data for a text mark is processed\
\ for the first time and the \ngroup mark is newly added to a scene."
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
x:
name: x
from_schema: https://w3id.org/scverse/vega-scverse/encode
alias: x
owner: TextEncodeEnter
domain_of:
- PointsEncodeEnter
- PathEncodeEnter
- TextEncodeEnter
- GroupEncodeEnter
range: PositionItem
required: true
y:
name: y
from_schema: https://w3id.org/scverse/vega-scverse/encode
alias: y
owner: TextEncodeEnter
domain_of:
- PointsEncodeEnter
- PathEncodeEnter
- TextEncodeEnter
- GroupEncodeEnter
range: PositionItem
required: true
text:
name: text
from_schema: https://w3id.org/scverse/vega-scverse/encode
alias: text
owner: TextEncodeEnter
domain_of:
- Title
- TextEncodeEnter
range: TextItem
required: true
align:
name: align
description: The horizontal text alignment relative to the text anchor point.
from_schema: https://w3id.org/scverse/vega-scverse/encode
rank: 1000
alias: align
owner: TextEncodeEnter
domain_of:
- TextEncodeEnter
range: HorizontalAlignEnum
required: true
angle:
name: angle
description: The rotation angle of the text in degrees.
from_schema: https://w3id.org/scverse/vega-scverse/encode
rank: 1000
alias: angle
owner: TextEncodeEnter
domain_of:
- TextEncodeEnter
range: float
minimum_value: 0
maximum_value: 359
baseline:
name: baseline
description: The baseline attribute specifies the vertical alignment (baseline)
of the text relative to its y-coordinate.
from_schema: https://w3id.org/scverse/vega-scverse/encode
alias: baseline
owner: TextEncodeEnter
domain_of:
- Title
- TextEncodeEnter
range: BaseLineEnum
required: true
font:
name: font
from_schema: https://w3id.org/scverse/vega-scverse/encode
alias: font
owner: TextEncodeEnter
domain_of:
- Title
- TextEncodeEnter
range: FontItem
required: true
fontSize:
name: fontSize
from_schema: https://w3id.org/scverse/vega-scverse/encode
alias: fontSize
owner: TextEncodeEnter
domain_of:
- Title
- TextEncodeEnter
range: FontSizeItem
required: true
fontWeight:
name: fontWeight
from_schema: https://w3id.org/scverse/vega-scverse/encode
alias: fontWeight
owner: TextEncodeEnter
domain_of:
- Title
- TextEncodeEnter
range: FontWeightItem
required: true
fontStyle:
name: fontStyle
from_schema: https://w3id.org/scverse/vega-scverse/encode
alias: fontStyle
owner: TextEncodeEnter
domain_of:
- Title
- TextEncodeEnter
range: FontStyleItem
required: true
fill:
name: fill
description: The color of the text
from_schema: https://w3id.org/scverse/vega-scverse/encode
alias: fill
owner: TextEncodeEnter
domain_of:
- Legend
- ImageEncodeEnter
- LabelEncodeEnter
- PointsEncodeEnter
- PathEncodeEnter
- TextEncodeEnter
- MarkEncodeUpdate
range: RGBHexItem
required: true
fillOpacity:
name: fillOpacity
description: Opacity of the text.
from_schema: https://w3id.org/scverse/vega-scverse/encode
slot_uri: opacityValueSlot
alias: fillOpacity
owner: TextEncodeEnter
domain_of:
- LabelEncodeEnter
- PointsEncodeEnter
- PathEncodeEnter
- TextEncodeEnter
range: string