Class: Color
A color as defined by RGB values and an optional alpha value
URI: microscopemetrics_schema:Color
classDiagram
class Color
Color : alpha
Color : b
Color : g
Color : r
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
r | 1..1 Integer |
The red value of the color | direct |
g | 1..1 Integer |
The green value of the color | direct |
b | 1..1 Integer |
The blue value of the color | direct |
alpha | 0..1 Integer |
The alpha value of the color (optional) | direct |
Usages
used by | used in | type | used |
---|---|---|---|
Shape | fill_color | range | Color |
Shape | stroke_color | range | Color |
Point | fill_color | range | Color |
Point | stroke_color | range | Color |
Line | fill_color | range | Color |
Line | stroke_color | range | Color |
Rectangle | fill_color | range | Color |
Rectangle | stroke_color | range | Color |
Ellipse | fill_color | range | Color |
Ellipse | stroke_color | range | Color |
Polygon | fill_color | range | Color |
Polygon | stroke_color | range | Color |
Mask | fill_color | range | Color |
Mask | stroke_color | range | Color |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema
Mappings
Mapping Type | Mapped Value |
---|---|
self | microscopemetrics_schema:Color |
native | microscopemetrics_schema:Color |
LinkML Source
Direct
name: Color
description: A color as defined by RGB values and an optional alpha value
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema
attributes:
r:
name: r
description: The red value of the color
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
rank: 1000
multivalued: false
ifabsent: int(128)
range: integer
required: true
minimum_value: 0
maximum_value: 255
g:
name: g
description: The green value of the color
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
rank: 1000
multivalued: false
ifabsent: int(128)
range: integer
required: true
minimum_value: 0
maximum_value: 255
b:
name: b
description: The blue value of the color
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
rank: 1000
multivalued: false
ifabsent: int(128)
range: integer
required: true
minimum_value: 0
maximum_value: 255
alpha:
name: alpha
description: The alpha value of the color (optional)
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
rank: 1000
multivalued: false
ifabsent: int(255)
range: integer
required: false
minimum_value: 0
maximum_value: 255
Induced
name: Color
description: A color as defined by RGB values and an optional alpha value
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema
attributes:
r:
name: r
description: The red value of the color
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
rank: 1000
multivalued: false
ifabsent: int(128)
alias: r
owner: Color
domain_of:
- Color
range: integer
required: true
minimum_value: 0
maximum_value: 255
g:
name: g
description: The green value of the color
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
rank: 1000
multivalued: false
ifabsent: int(128)
alias: g
owner: Color
domain_of:
- Color
range: integer
required: true
minimum_value: 0
maximum_value: 255
b:
name: b
description: The blue value of the color
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
rank: 1000
multivalued: false
ifabsent: int(128)
alias: b
owner: Color
domain_of:
- Color
range: integer
required: true
minimum_value: 0
maximum_value: 255
alpha:
name: alpha
description: The alpha value of the color (optional)
from_schema: https://w3id.org/MontpellierRessourcesImagerie/microscopemetrics-schema/core_schema
rank: 1000
multivalued: false
ifabsent: int(255)
alias: alpha
owner: Color
domain_of:
- Color
range: integer
required: false
minimum_value: 0
maximum_value: 255