|
Media Authoring with Java API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface RGBAComponent
Specifies an element of an array representing the order and size of the component values within a pixel value as part of an RGBA Layout. The RGB layout type type is a fixed-size 8 element array, where each element consists of an RGBA component value. Each RGBA component has with the following fields:
code - RGBA component kind enumerated value
specifying the component kind.size - Java byte specifying the number of bits.A fill component indicates unused bits. After the
components have been specified, the remaining code and size fields
should be set to RGBAComponentKind.None and 0 respectively.
TypeDefinitionRecord.RGBAComponent,
RGBADescriptor| Method Summary | |
|---|---|
RGBAComponentKind |
getCode()
Returns the type of an RGBA component. |
byte |
getSize()
Returns the size, measured in bits, of the RGBA component. |
void |
setCode(RGBAComponentKind code)
Sets the type of an RGBA component. |
void |
setSize(byte size)
Sets the size, measured in bits, of the RGBA component. |
| Method Detail |
|---|
RGBAComponentKind getCode()
Returns the type of an RGBA component.
void setCode(RGBAComponentKind code)
throws NullPointerException
Sets the type of an RGBA component.
code - Type of an RGBA component.
NullPointerException - The given component kind is null.@UInt8 byte getSize()
Returns the size, measured in bits, of the RGBA component.
void setSize(@UInt8
byte size)
throws IllegalArgumentException
Sets the size, measured in bits, of the RGBA component.
size - Size of the RGBA component.
IllegalArgumentException - The size value is negative.
|
Media Authoring with Java API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||