Give the line width and dash pattern to the chain (if built).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(CustomLineSegments), | intent(inout) | :: | self |
subroutine apply_style(self) type(CustomLineSegments), intent(inout) :: self if (.not. self%chain%is_built()) return ! white: each point's own color shows (shaders/line.vert multiplies them) call self%chain%set_style([1.0_wp, 1.0_wp, 1.0_wp, 1.0_wp], self%width_) call self%chain%set_pattern(self%pattern_factor, self%pattern_) end subroutine apply_style