tile_renderer.skin.ComponentType

class tile_renderer.skin.ComponentType(*, name: str, shape: ~typing.Literal['point', 'line', 'area'], styles: dict[str, list[~tile_renderer.skin.ComponentStyle]], tags: list[str] = <factory>)

Bases: Struct

__init__()

Methods

__init__()

encode()

get_styling_by_zoom(zoom)

Attributes

name

shape

styles

tags

encode() _SerComponentType
get_styling_by_zoom(zoom: int) list[ComponentStyle] | None
name: str
shape: Literal['point', 'line', 'area']
styles: dict[str, list[ComponentStyle]]
tags: list[str]