# LayerTypes.h File Reference

## Classes
class | TChannelID
## Enumerations
enum | ELayerColorType { eLayerHasAlpha = 0x10, eLayerUNKNOWN = 0, eLayerRGB = 1, eLayerRGBA = 1|eLayerHasAlpha, eLayerGRAY = 2, eLayerAGRAY = 2|eLayerHasAlpha, eLayerCMYK = 3, eLayerACMYK = 3|eLayerHasAlpha }
enum | ETileAccess { eTileRead = 1, eTileWrite = 2, eTileReadWrite = eTileRead | eTileWrite, eTileDisplay = 4 | eTileRead }
## Variables
const FourCharT | kLayerChangeChannel = 'layr'
const FourCharT | kContent_LayerChangeChannel = 'Cont'
const FourCharT | kLayerVisibilityChanged = 'layv'
const FourCharT | kLayerPropertyChanged = 'layp'
const FourCharT | kMsgKind_AddChannel = 'AChn'
const FourCharT | kMsgKind_DeleteChannel = 'DChn'
const FourCharT | kMsgKind_BeActiveChannel = 'BChn'
const FourCharT | kMsgKind_DeActivateChannel = 'NChn'
const FourCharT | kMsgKind_ChannelPropertiesChange = 'PChn'
const FourCharT | kMsgKind_BoundsChanged = 'Boun'
const FourCharT | kMsgKind_LayerAdded = 'ALay'
const FourCharT | kMsgKind_LayerRemoved = 'RLay'
const FourCharT | kChannelVisibilityChanged = 'VChn'
const FourCharT | kChannelDataChanged = 'IChn'
const TChannelID | kChannelIDsRGBA [4] = {TChannelID(TChannelID::eRED_CHANNEL, 1), TChannelID(TChannelID::eGREEN_CHANNEL, 1), TChannelID(TChannelID::eBLUE_CHANNEL, 1), TChannelID(TChannelID::eALPHA_CHANNEL, 1)}
const TChannelID | kChannelIDsCMYKA [5] = {TChannelID(TChannelID::eCYAN_CHANNEL, 1), TChannelID(TChannelID::eMAGENTA_CHANNEL, 1), TChannelID(TChannelID::eYELLOW_CHANNEL, 1), TChannelID(TChannelID::eBLACK_CHANNEL, 1), TChannelID(TChannelID::eALPHA_CHANNEL, 1)}

## Enumeration Type Documentation

enum ELayerColorType

Enumerator:

  eLayerHasAlpha |
  eLayerUNKNOWN |
  eLayerRGB |
  eLayerRGBA |
  eLayerGRAY |
  eLayerAGRAY |
  eLayerCMYK |
  eLayerACMYK |

enum ETileAccess

Enumerator:

  eTileRead |
  eTileWrite |
  eTileReadWrite |
  eTileDisplay |

## Variable Documentation

const FourCharT kChannelDataChanged = 'IChn'

const TChannelID kChannelIDsCMYKA[5] = {TChannelID(TChannelID::eCYAN_CHANNEL, 1), TChannelID(TChannelID::eMAGENTA_CHANNEL, 1), TChannelID(TChannelID::eYELLOW_CHANNEL, 1), TChannelID(TChannelID::eBLACK_CHANNEL, 1), TChannelID(TChannelID::eALPHA_CHANNEL, 1)}

const TChannelID kChannelIDsRGBA[4] = {TChannelID(TChannelID::eRED_CHANNEL, 1), TChannelID(TChannelID::eGREEN_CHANNEL, 1), TChannelID(TChannelID::eBLUE_CHANNEL, 1), TChannelID(TChannelID::eALPHA_CHANNEL, 1)}

const FourCharT kChannelVisibilityChanged = 'VChn'

const FourCharT kContent_LayerChangeChannel = 'Cont'

const FourCharT kLayerChangeChannel = 'layr'

const FourCharT kLayerPropertyChanged = 'layp'

const FourCharT kLayerVisibilityChanged = 'layv'

const FourCharT kMsgKind_AddChannel = 'AChn'

const FourCharT kMsgKind_BeActiveChannel = 'BChn'

const FourCharT kMsgKind_BoundsChanged = 'Boun'

const FourCharT kMsgKind_ChannelPropertiesChange = 'PChn'

const FourCharT kMsgKind_DeActivateChannel = 'NChn'

const FourCharT kMsgKind_DeleteChannel = 'DChn'

const FourCharT kMsgKind_LayerAdded = 'ALay'

const FourCharT kMsgKind_LayerRemoved = 'RLay'