HighlightStyle Derived Type

type, private :: HighlightStyle

A line artist's highlight (see the module documentation and set_highlight).


Inherited by

type~~highlightstyle~~InheritedByGraph type~highlightstyle HighlightStyle type~curveartist CurveArtist type~curveartist->type~highlightstyle highlight_ type~segmentartist SegmentArtist type~segmentartist->type~highlightstyle highlight_

Components

Type Visibility Attributes Name Initial
real(kind=wp), public :: arrow_spacing = 40.0_wp

between arrows (window units)

real(kind=wp), public :: arrow_speed = 50.0_wp

window units per second

real(kind=wp), public :: band_width = 12.0_wp

(window units)

real(kind=wp), public :: color(4) = [1.0_wp, 1.0_wp, 1.0_wp, 1.0_wp]

[r, g, b, a] (default white)

integer, public :: mode = HIGHLIGHT_NONE

HIGHLIGHT_* (added)

real(kind=wp), public :: pulse_period = 1.5_wp

(s)


Source Code

    type :: HighlightStyle
        integer :: mode = HIGHLIGHT_NONE            !! HIGHLIGHT_* (added)
        real(wp) :: color(4) = [1.0_wp, 1.0_wp, 1.0_wp, 1.0_wp]  !! [r, g, b, a] (default white)
        real(wp) :: arrow_spacing = 40.0_wp         !! between arrows (window units)
        real(wp) :: arrow_speed = 50.0_wp           !! window units per second
        real(wp) :: band_width = 12.0_wp            !! (window units)
        real(wp) :: pulse_period = 1.5_wp           !! (s)
    end type HighlightStyle