public static class HemfPalette.EmfSetPaletteEntries extends HwmfPalette.WmfSetPaletteEntries implements HemfRecord
palette, start| Constructor and Description | 
|---|
| EmfSetPaletteEntries() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | draw(HemfGraphics ctx)Draws the record, the default redirects to the parent WMF record drawing | 
| HemfRecordType | getEmfRecordType() | 
| java.util.Map<java.lang.String,java.util.function.Supplier<?>> | getGenericProperties() | 
| HemfRecordType | getGenericRecordType() | 
| int | getPaletteIndex() | 
| long | init(LittleEndianInputStream leis,
    long recordSize,
    long recordId)Init record from stream | 
applyObject, getWmfRecordTypedraw, init, readPaletteEntriesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalcBounds, setHeadergetGenericChildrenpublic HemfRecordType getEmfRecordType()
getEmfRecordType in interface HemfRecordpublic long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
HemfRecordinit in interface HemfRecordleis - the little endian input streamrecordSize - the size limit for this recordrecordId - the id of the HemfRecordTypejava.io.IOException - when the inputstream is malformedpublic void draw(HemfGraphics ctx)
HemfRecorddraw in interface HemfRecordctx - the drawing contextpublic int getPaletteIndex()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordgetGenericProperties in class HwmfPalette.WmfPaletteParentpublic HemfRecordType getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in interface HemfRecordgetGenericRecordType in interface HwmfRecordCopyright 2021 The Apache Software Foundation or its licensors, as applicable.