Skip to content

Class: Shape

A shape

  • NOTE: this is an abstract class and should not be instantiated directly

URI: microscopemetrics_schema:Shape

classDiagram class Shape click Shape href "../Shape" NamedObject <|-- Shape click NamedObject href "../NamedObject" Shape <|-- Point click Point href "../Point" Shape <|-- Line click Line href "../Line" Shape <|-- Rectangle click Rectangle href "../Rectangle" Shape <|-- Ellipse click Ellipse href "../Ellipse" Shape <|-- Polygon click Polygon href "../Polygon" Shape <|-- Mask click Mask href "../Mask" Shape : c Shape : description Shape : fill_color Shape --> "0..1" Color : fill_color click Color href "../Color" Shape : name Shape : stroke_color Shape --> "0..1" Color : stroke_color click Color href "../Color" Shape : stroke_width Shape : t Shape : z

Inheritance

Slots

Name Cardinality and Range Description Inheritance
z 0..1
Float
The z coordinate direct
c 0..1
Integer
The c coordinate direct
t 0..1
Integer
The t coordinate direct
fill_color 0..1
Color
The fill color of the shape direct
stroke_color 0..1
Color
The stroke color of the shape direct
stroke_width 0..1
Integer
The stroke width of the shape direct
name 0..1
String
The human readable name of an entity NamedObject
description 0..1
String
A human readable description of an entity NamedObject

Identifier and Mapping Information

Schema Source

  • from schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema

Mappings

Mapping Type Mapped Value
self microscopemetrics_schema:Shape
native microscopemetrics_schema:Shape

LinkML Source

Direct

name: Shape
description: A shape
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
is_a: NamedObject
abstract: true
slots:
- z
- c
- t
attributes:
  fill_color:
    name: fill_color
    description: The fill color of the shape
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    domain_of:
    - Shape
    range: Color
    required: false
  stroke_color:
    name: stroke_color
    description: The stroke color of the shape
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    domain_of:
    - Shape
    range: Color
    required: false
  stroke_width:
    name: stroke_width
    description: The stroke width of the shape
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    ifabsent: int(1)
    domain_of:
    - Shape
    range: integer
    required: false

Induced

name: Shape
description: A shape
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
is_a: NamedObject
abstract: true
attributes:
  fill_color:
    name: fill_color
    description: The fill color of the shape
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    alias: fill_color
    owner: Shape
    domain_of:
    - Shape
    range: Color
    required: false
  stroke_color:
    name: stroke_color
    description: The stroke color of the shape
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    alias: stroke_color
    owner: Shape
    domain_of:
    - Shape
    range: Color
    required: false
  stroke_width:
    name: stroke_width
    description: The stroke width of the shape
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    ifabsent: int(1)
    alias: stroke_width
    owner: Shape
    domain_of:
    - Shape
    range: integer
    required: false
  z:
    name: z
    description: The z coordinate
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
    rank: 1000
    alias: z
    owner: Shape
    domain_of:
    - Shape
    range: float
    required: false
  c:
    name: c
    description: The c coordinate
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
    rank: 1000
    alias: c
    owner: Shape
    domain_of:
    - Shape
    range: integer
    required: false
  t:
    name: t
    description: The t coordinate
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
    rank: 1000
    alias: t
    owner: Shape
    domain_of:
    - Shape
    range: integer
    required: false
  name:
    name: name
    description: The human readable name of an entity
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    alias: name
    owner: Shape
    domain_of:
    - NamedObject
    range: string
    required: false
    multivalued: false
  description:
    name: description
    description: A human readable description of an entity
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    alias: description
    owner: Shape
    domain_of:
    - NamedObject
    range: string
    required: false
    multivalued: false