public static class HwmfPalette.WmfResizePalette extends java.lang.Object implements HwmfRecord, HwmfObjectTableEntry
Modifier and Type | Field and Description |
---|---|
protected int |
numberOfEntries
A 16-bit unsigned integer that defines the number of entries in
the logical palette.
|
Constructor and Description |
---|
WmfResizePalette() |
Modifier and Type | Method and Description |
---|---|
void |
applyObject(HwmfGraphics ctx) |
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getNumberOfEntries() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenericRecordType
getGenericChildren
protected int numberOfEntries
public HwmfRecordType getWmfRecordType()
getWmfRecordType
in interface HwmfRecord
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 void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface HwmfRecord
ctx
- the graphics context to modifypublic void applyObject(HwmfGraphics ctx)
applyObject
in interface HwmfObjectTableEntry
public int getNumberOfEntries()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.