public class ColourTable extends Command
| Constructor and Description |
|---|
ColourTable(CgmFile container) |
ColourTable(CgmFile container,
int startIndex,
Color[] colors) |
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor(int index) |
Color[] |
getColors() |
int |
getStartIndex() |
void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
void |
writeAsBinary(IBinaryWriter writer)
Writes/exports the command as binary mode
|
void |
writeAsClearText(IClearTextWriter writer)
Writes/exports the command as clear text mode
|
assert_, getElementClass, getElementId, toStringpublic ColourTable(CgmFile container)
public final int getStartIndex()
public final Color[] getColors()
public void readFromBinary(IBinaryReader reader)
CommandReads the binary data from the reader
readFromBinary in class Commandpublic void writeAsBinary(IBinaryWriter writer)
CommandWrites/exports the command as binary mode
writeAsBinary in class Commandwriter - The writer to write the binary content to.public void writeAsClearText(IClearTextWriter writer)
CommandWrites/exports the command as clear text mode
writeAsClearText in class Commandwriter - The text writer to write the clear text to.public final Color getColor(int index)
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.