The color of point i (1 to num_drawn) as drawn: read back from the line buffers.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(CurveArtist), | intent(in) | :: | self | |||
| integer, | intent(in) | :: | i |
the point (1 to num_drawn) |
function drawn_color(self, i) result(rgba) class(CurveArtist), intent(in) :: self integer, intent(in) :: i !! the point (1 to num_drawn) real(wp) :: rgba(4) if (self%chain%is_colored()) then rgba = self%chain%point_color(i) else rgba = self%color_ end if end function drawn_color