public class MfCmdExtFloodFill extends MfCmd
Modifier and Type | Field and Description |
---|---|
static int |
FLOODFILLBORDER |
static int |
FLOODFILLSURFACE |
Constructor and Description |
---|
MfCmdExtFloodFill() |
Modifier and Type | Method and Description |
---|---|
Color |
getColor() |
int |
getFillType() |
int |
getFunction()
Reads the function identifier.
|
MfCmd |
getInstance()
Creates a empty unintialized copy of this command implementation.
|
MfRecord |
getRecord()
Writer function
|
Point |
getScaledTarget() |
Point |
getTarget() |
void |
replay(WmfFile file)
Replays the command on the given WmfFile.
|
void |
setColor(Color c) |
void |
setFillType(int filltype) |
void |
setRecord(MfRecord record)
Reads the command data from the given record and adjusts the internal parameters according to the data parsed.
|
void |
setTarget(int x,
int y) |
String |
toString() |
getScaledX, getScaledY, setScale
public static final int FLOODFILLBORDER
public static final int FLOODFILLSURFACE
public void replay(WmfFile file)
MfCmd
public MfCmd getInstance()
MfCmd
getInstance
in class MfCmd
public void setRecord(MfRecord record)
MfCmd
public MfRecord getRecord()
public void setFillType(int filltype)
public int getFillType()
public int getFunction()
MfCmd
getFunction
in class MfCmd
public Point getTarget()
public Point getScaledTarget()
public void setTarget(int x, int y)
public void setColor(Color c)
public Color getColor()