curve_color Function

private pure function curve_color(self) result(c)

The line's color [r, g, b, a].

Type Bound

CurveArtist

Arguments

Type IntentOptional Attributes Name
class(CurveArtist), intent(in) :: self

Return Value real(kind=wp), (4)


Source Code

    pure function curve_color(self) result(c)
        class(CurveArtist), intent(in) :: self
        real(wp) :: c(4)
        c = self%color_
    end function curve_color