ncpalette_get

Function ncpalette_get 

Source
pub fn ncpalette_get(
    palette: &NcPalette,
    index: impl Into<NcPaletteIndex>,
) -> NcRgb_u32
Expand description

Returns the NcRgb_u32 value from an NcChannel_u32 entry inside an NcPalette.

Method: NcPalette.get().