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
|
int |
getBrushIndex() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getRegionIndex() |
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 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 modifypublic int getRegionIndex()
public int getBrushIndex()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.