Computes the shift value for a given mask.
@param mask the mask to compute the shift for @return the shift amount
@see PaletteData
See Implementation
Computes the shift value for a given mask.
@param mask the mask to compute the shift for @return the shift amount
@see PaletteData