getAlpha abstract method

num getAlpha(
  1. int index
)

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

Implementation

num getAlpha(int index);