The color of the pair at trajectory point i as drawn (rgba: the trajectory's color times the artist's alpha, or the artist's color).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(RibbonArtist), | intent(in) | :: | self | |||
| integer, | intent(in) | :: | i |
the trajectory point |
function ribbon_drawn_color(self, i) result(rgba) class(RibbonArtist), intent(in) :: self integer, intent(in) :: i !! the trajectory point real(wp) :: rgba(4) rgba = self%color_ if (.not. self%chain%is_colored()) return rgba = self%chain%point_color(2 * i - 1) rgba(4) = rgba(4) * self%color_(4) end function ribbon_drawn_color