public abstract static class HwmfPalette.WmfPaletteParent extends Object implements HwmfRecord, HwmfObjectTableEntry
| Modifier and Type | Field and Description |
|---|---|
protected List<HwmfPalette.PaletteEntry> |
palette |
protected int |
start
Start (2 bytes): A 16-bit unsigned integer that defines the offset into the Palette Object when
used with the META_SETPALENTRIES and META_ANIMATEPALETTE record types.
|
| Constructor and Description |
|---|
WmfPaletteParent() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
Map<String,Supplier<?>> |
getGenericProperties() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
protected int |
readPaletteEntries(LittleEndianInputStream leis,
int nbrOfEntries) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGenericRecordType, getWmfRecordTypegetGenericChildrenapplyObjectprotected int start
protected final List<HwmfPalette.PaletteEntry> palette
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws IOException
HwmfRecordinit in interface HwmfRecordleis - the little endian input streamIOExceptionprotected int readPaletteEntries(LittleEndianInputStream leis, int nbrOfEntries) throws IOException
IOExceptionpublic final void draw(HwmfGraphics ctx)
HwmfRecorddraw in interface HwmfRecordctx - the graphics context to modifypublic Map<String,Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecord