getRed abstract method

num getRed(
  1. int index
)

Get the red channel of the palette entry at index. If the palette has fewer colors or channels, 0 will be returned.

Implementation

num getRed(int index);