CompArray (Media Authoring with Java API)
Date: 2016-02-05

tv.amwa.maj.misctype

## Annotation Type CompArray

-     @Documented
       @Target(value={FIELD,PARAMETER,METHOD})
      public @interface CompArray

  Labels an array that specifies the order in which the RGBA components are stored as an array of characters. Each element in the array represents a different color component. The array can contain the following codes, as specified by the enumeration `RGBAComponentKind`:

  - 'A' - Alpha component
  - 'B' - Blue component
  - 'F' - Fill component
  - 'G' - Green component
  - 'P' - Palette code
  - 'R' - Red component
  - '0' - no component

  Each code, except '0', can appear no more than one time in the array. The array is terminated by a 0-valued byte and has a maximum of 8 elements (including the terminating character). Note that a character with the Unicode '0' indicates no component and a byte with a Unicode NULL terminates the string.

  Note that in Java, this is represented by creating an array of `RGBAComponent` objects rather than characters.

  Original C name: `aafCompArray_t`
  C base type: `aafInt8 *`
  Java base type: `tv.amwa.maj.record.RGBAComponent[]`

  See Also:
    `RGBALayout`, `RGBAComponent`, `RGBADescriptor`, `RGBAComponentKind`

(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.