public abstract static class HwmfPalette.WmfPaletteParent extends java.lang.Object implements HwmfRecord, HwmfObjectTableEntry
| Modifier and Type | Field and Description |
|---|---|
protected java.util.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
|
java.util.Map<java.lang.String,java.util.function.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 java.util.List<HwmfPalette.PaletteEntry> palette
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecordinit in interface HwmfRecordleis - the little endian input streamjava.io.IOExceptionprotected int readPaletteEntries(LittleEndianInputStream leis, int nbrOfEntries) throws java.io.IOException
java.io.IOExceptionpublic final void draw(HwmfGraphics ctx)
HwmfRecorddraw in interface HwmfRecordctx - the graphics context to modifypublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordCopyright 2021 The Apache Software Foundation or its licensors, as applicable.