![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Rendering style for a class of SWMM network elements. More...
#include <swmmmodellayer.h>
Public Attributes | |
| QColor | fillColor = Qt::blue |
| QColor | outlineColor = Qt::darkBlue |
| double | outlineWidth = 1.0 |
| double | size = 8.0 |
| OpenSWMM::Render::MarkerShape | markerShape = OpenSWMM::Render::MarkerShape::Circle |
| bool | showLabel = false |
| QFont | labelFont |
| QColor | labelColor = Qt::black |
| bool | showArrows = false |
| double | arrowSize = 16.0 |
| double | arrowWidth = 8.0 |
| QColor | arrowColor = QColor(34, 34, 34) |
| bool | arrowOnlyWhenFlowPos = false |
Rendering style for a class of SWMM network elements.
| QColor SWMMElementSymbol::arrowColor = QColor(34, 34, 34) |
Near-black.
| bool SWMMElementSymbol::arrowOnlyWhenFlowPos = false |
| double SWMMElementSymbol::arrowSize = 16.0 |
Arrowhead length in pixels (along the link).
| double SWMMElementSymbol::arrowWidth = 8.0 |
Arrowhead width in pixels, ACROSS the link — independent of the length so an arrow can be made stubby or needle-thin. The default is deliberately narrower than the length so the head reads as a direction marker rather than a blob. Projects saved before the width became independent carry no arrowWidthPx key and so adopt this default (they previously drew at 1.2 x length).
| QColor SWMMElementSymbol::fillColor = Qt::blue |
| QColor SWMMElementSymbol::labelColor = Qt::black |
| QFont SWMMElementSymbol::labelFont |
| OpenSWMM::Render::MarkerShape SWMMElementSymbol::markerShape = OpenSWMM::Render::MarkerShape::Circle |
Point-marker glyph (per-kind defaults seeded in SWMMModelLayer ctor). Ignored for line and polygon categories.
| QColor SWMMElementSymbol::outlineColor = Qt::darkBlue |
| double SWMMElementSymbol::outlineWidth = 1.0 |
| bool SWMMElementSymbol::showArrows = false |
Off in the shared default because this struct also backs node and polygon kinds, whose editors would otherwise show a ticked "Show flow arrows". The five LINK kinds are seeded on in the SWMMModelLayer constructor.
| bool SWMMElementSymbol::showLabel = false |
| double SWMMElementSymbol::size = 8.0 |
Marker diameter / line width in pixels.