public static class HwmfFill.WmfFloodFill extends java.lang.Object implements HwmfRecord
Modifier and Type | Field and Description |
---|---|
protected HwmfColorRef |
colorRef
A 32-bit ColorRef Object that defines the color value.
|
protected java.awt.geom.Point2D |
start
the point where filling is to start.
|
Constructor and Description |
---|
WmfFloodFill() |
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 final HwmfColorRef colorRef
protected final java.awt.geom.Point2D start
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.