Color of point i as drawn by a colored chain: the trajectory's, or the artist's if it has none yet.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(CurveArtist), | intent(in) | :: | self | |||
| integer, | intent(in) | :: | i |
the trajectory point |
function point_rgba(self, i) result(rgba) type(CurveArtist), intent(in) :: self integer, intent(in) :: i !! the trajectory point real(wp) :: rgba(4) if (i <= self%traj%num_colors()) then rgba = self%traj%color(i) else rgba = self%color_ end if end function point_rgba