public abstract static class HwmfPalette.WmfPaletteParent extends java.lang.Object implements HwmfRecord, HwmfObjectTableEntry
Constructor and Description |
---|
WmfPaletteParent() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
protected java.util.List<HwmfPalette.PaletteEntry> |
getPaletteCopy() |
protected int |
getPaletteStart() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRecordType
applyObject
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecord
init
in interface HwmfRecord
leis
- the little endian input streamjava.io.IOException
public final void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface HwmfRecord
ctx
- the graphics context to modifyprotected java.util.List<HwmfPalette.PaletteEntry> getPaletteCopy()
protected int getPaletteStart()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.