Skip to content

Class: PolygonProperties

Styling schema for Polygon and MultiPolygon geometries. Follows Leaflet Polygon options naming conventions.

URI: debrief:class/PolygonProperties

 classDiagram
    class PolygonProperties
    click PolygonProperties href "../../classes/PolygonProperties/"
      PolygonProperties : color

      PolygonProperties : dash_array

      PolygonProperties : fill

      PolygonProperties : fill_color

      PolygonProperties : fill_opacity

      PolygonProperties : line_cap





        PolygonProperties --> "0..1" LineCapEnum : line_cap
        click LineCapEnum href "../../enums/LineCapEnum/"



      PolygonProperties : line_join





        PolygonProperties --> "0..1" LineJoinEnum : line_join
        click LineJoinEnum href "../../enums/LineJoinEnum/"



      PolygonProperties : opacity

      PolygonProperties : stroke

      PolygonProperties : weight


Slots

Name Cardinality and Range Description Inheritance
fill 0..1
Boolean
Whether to fill the polygon direct
fill_color 1
CSSColor
Fill color (CSS color string) direct
fill_opacity 0..1
Float
Fill transparency (0-1) direct
stroke 0..1
Boolean
Whether to draw border direct
color 1
CSSColor
Border color (CSS color string) direct
weight 0..1
Float
Border width in pixels direct
opacity 0..1
Float
Border transparency (0-1) direct
line_cap 0..1
LineCapEnum
Border endpoint style direct
line_join 0..1
LineJoinEnum
Border join style direct
dash_array 0..1
String
Border dash pattern (SVG format, e direct

Usages

used by used in type used
MultiPolygonFeatureProperties style range PolygonProperties
CircleAnnotationProperties style range PolygonProperties
RectangleAnnotationProperties style range PolygonProperties
PolyAnnotationProperties style range PolygonProperties

Identifier and Mapping Information

Schema Source

  • from schema: https://debrief.info/schemas/debrief

Mappings

Mapping Type Mapped Value
self debrief:PolygonProperties
native debrief:PolygonProperties

LinkML Source

Direct

name: PolygonProperties
description: Styling schema for Polygon and MultiPolygon geometries. Follows Leaflet
  Polygon options naming conventions.
from_schema: https://debrief.info/schemas/debrief
attributes:
  fill:
    name: fill
    description: Whether to fill the polygon
    from_schema: https://debrief.info/schemas/styling
    domain_of:
    - PointProperties
    - PolygonProperties
    range: boolean
  fill_color:
    name: fill_color
    description: Fill color (CSS color string)
    from_schema: https://debrief.info/schemas/styling
    domain_of:
    - PointProperties
    - PolygonProperties
    range: CSSColor
    required: true
  fill_opacity:
    name: fill_opacity
    description: Fill transparency (0-1)
    from_schema: https://debrief.info/schemas/styling
    domain_of:
    - PointProperties
    - PolygonProperties
    range: float
    minimum_value: 0
    maximum_value: 1
  stroke:
    name: stroke
    description: Whether to draw border
    from_schema: https://debrief.info/schemas/styling
    domain_of:
    - PointProperties
    - LineProperties
    - PolygonProperties
    range: boolean
  color:
    name: color
    description: Border color (CSS color string)
    from_schema: https://debrief.info/schemas/styling
    domain_of:
    - PointProperties
    - LineProperties
    - PolygonProperties
    - SensorContact
    - SensorData
    range: CSSColor
    required: true
  weight:
    name: weight
    description: Border width in pixels
    from_schema: https://debrief.info/schemas/styling
    domain_of:
    - PointProperties
    - LineProperties
    - PolygonProperties
    range: float
    minimum_value: 0
  opacity:
    name: opacity
    description: Border transparency (0-1)
    from_schema: https://debrief.info/schemas/styling
    domain_of:
    - PointProperties
    - LineProperties
    - PolygonProperties
    range: float
    minimum_value: 0
    maximum_value: 1
  line_cap:
    name: line_cap
    description: Border endpoint style
    from_schema: https://debrief.info/schemas/styling
    domain_of:
    - LineProperties
    - PolygonProperties
    range: LineCapEnum
  line_join:
    name: line_join
    description: Border join style
    from_schema: https://debrief.info/schemas/styling
    domain_of:
    - LineProperties
    - PolygonProperties
    range: LineJoinEnum
  dash_array:
    name: dash_array
    description: Border dash pattern (SVG format, e.g., "5, 10")
    from_schema: https://debrief.info/schemas/styling
    domain_of:
    - LineProperties
    - PolygonProperties
    range: string

Induced

name: PolygonProperties
description: Styling schema for Polygon and MultiPolygon geometries. Follows Leaflet
  Polygon options naming conventions.
from_schema: https://debrief.info/schemas/debrief
attributes:
  fill:
    name: fill
    description: Whether to fill the polygon
    from_schema: https://debrief.info/schemas/styling
    alias: fill
    owner: PolygonProperties
    domain_of:
    - PointProperties
    - PolygonProperties
    range: boolean
  fill_color:
    name: fill_color
    description: Fill color (CSS color string)
    from_schema: https://debrief.info/schemas/styling
    alias: fill_color
    owner: PolygonProperties
    domain_of:
    - PointProperties
    - PolygonProperties
    range: CSSColor
    required: true
  fill_opacity:
    name: fill_opacity
    description: Fill transparency (0-1)
    from_schema: https://debrief.info/schemas/styling
    alias: fill_opacity
    owner: PolygonProperties
    domain_of:
    - PointProperties
    - PolygonProperties
    range: float
    minimum_value: 0
    maximum_value: 1
  stroke:
    name: stroke
    description: Whether to draw border
    from_schema: https://debrief.info/schemas/styling
    alias: stroke
    owner: PolygonProperties
    domain_of:
    - PointProperties
    - LineProperties
    - PolygonProperties
    range: boolean
  color:
    name: color
    description: Border color (CSS color string)
    from_schema: https://debrief.info/schemas/styling
    alias: color
    owner: PolygonProperties
    domain_of:
    - PointProperties
    - LineProperties
    - PolygonProperties
    - SensorContact
    - SensorData
    range: CSSColor
    required: true
  weight:
    name: weight
    description: Border width in pixels
    from_schema: https://debrief.info/schemas/styling
    alias: weight
    owner: PolygonProperties
    domain_of:
    - PointProperties
    - LineProperties
    - PolygonProperties
    range: float
    minimum_value: 0
  opacity:
    name: opacity
    description: Border transparency (0-1)
    from_schema: https://debrief.info/schemas/styling
    alias: opacity
    owner: PolygonProperties
    domain_of:
    - PointProperties
    - LineProperties
    - PolygonProperties
    range: float
    minimum_value: 0
    maximum_value: 1
  line_cap:
    name: line_cap
    description: Border endpoint style
    from_schema: https://debrief.info/schemas/styling
    alias: line_cap
    owner: PolygonProperties
    domain_of:
    - LineProperties
    - PolygonProperties
    range: LineCapEnum
  line_join:
    name: line_join
    description: Border join style
    from_schema: https://debrief.info/schemas/styling
    alias: line_join
    owner: PolygonProperties
    domain_of:
    - LineProperties
    - PolygonProperties
    range: LineJoinEnum
  dash_array:
    name: dash_array
    description: Border dash pattern (SVG format, e.g., "5, 10")
    from_schema: https://debrief.info/schemas/styling
    alias: dash_array
    owner: PolygonProperties
    domain_of:
    - LineProperties
    - PolygonProperties
    range: string