pyrocko.gui.sparrow.elements.coastlines

Classes

CoastlineResolutionChoice(...)

Any str out of ['crude', 'low', 'intermediate', 'high', 'full'].

CoastlinesState(**kwargs)

Undocumented.

class CoastlineResolutionChoice(...) str[source]

Bases: StringChoice

Any str out of ['crude', 'low', 'intermediate', 'high', 'full'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class CoastlinesState(**kwargs)[source]

Bases: ElementState

Undocumented.

visible

bool, default: True

resolution

str (CoastlineResolutionChoice), default: 'low'

opacity

float, default: 0.4

color

pyrocko.color.Color, default: Color('white')

line_width

float, default: 1.0