Aller au contenu

Message HrzProtocol.Dashes

Defined in hrz/protocol/vector/dash.proto.


mode: HrzProtocol.DashMode

secondary_color: HrzProtocol.ColorProperty

Dashes use two colours, the primary and secondary colours. The primary colour is the colour that is set on the representation itself. Either colour can be transparent to create gaps in the line.


period: HrzProtocol.FloatProperty

Distance between two dash patterns. A dash pattern comprises a primary colour segment and a secondary colour segment. A dashed line is drawn as a succession of dash patterns. Unit is period_unit.


period_unit: HrzProtocol.DashSizeUnit

primary_segment_length: HrzProtocol.FloatProperty

Length of the first dash segment in each dash pattern. Drawn as either the primary colour, or as a gradient of the primary and secondary colours, depending on the mode. Unit is primary_segment_length_unit.


primary_segment_length_unit: HrzProtocol.DashSizeUnit

animation_speed: HrzProtocol.FloatProperty

Speed at which dashes move on the polyline. Negative values will also reverse the direction of the gradient if it is enabled. Unit is animation_speed_unit per second.


animation_speed_unit: HrzProtocol.DashSizeUnit