public static class HwmfFill.WmfFillRegion extends java.lang.Object implements HwmfRecord
Modifier and Type | Field and Description |
---|---|
protected int |
brushIndex
A 16-bit unsigned integer used to index into the WMF Object Table to get the
brush to use for filling the region.
|
protected int |
regionIndex
A 16-bit unsigned integer used to index into the WMF Object Table to get
the region to be filled.
|
Constructor and Description |
---|
WmfFillRegion() |
Modifier and Type | Method and Description |
---|---|
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
protected int regionIndex
protected int brushIndex
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 modifyCopyright 2019 The Apache Software Foundation or its licensors, as applicable.