segment_color Function

private pure function segment_color(self) result(c)

The segments' color [r, g, b, a].

Type Bound

SegmentArtist

Arguments

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

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


Source Code

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