public class MfCmdArc extends MfCmd
Constructor and Description |
---|
MfCmdArc() |
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds() |
Point |
getEndingIntersection() |
int |
getFunction()
Reads the function identifier.
|
MfCmd |
getInstance()
Creates a empty unintialized copy of this command implementation.
|
MfRecord |
getRecord()
Creates a new record based on the data stored in the MfCommand.
|
Rectangle |
getScaledBounds() |
Point |
getScaledEndingIntersection() |
Point |
getScaledStartingIntersection() |
Point |
getStartingIntersection() |
void |
replay(WmfFile file)
Replays the command on the given WmfFile.
|
void |
setBounds(int x,
int y,
int width,
int height) |
void |
setEndingIntersection(int x,
int y) |
void |
setRecord(MfRecord record)
Reads the command data from the given record and adjusts the internal parameters according to the data parsed.
|
void |
setStartingIntersection(int x,
int y) |
String |
toString() |
getScaledX, getScaledY, setScale
public MfCmd getInstance()
getInstance
in class MfCmd
public void replay(WmfFile file)
public int getFunction()
getFunction
in class MfCmd
public Rectangle getBounds()
public Rectangle getScaledBounds()
public void setBounds(int x, int y, int width, int height)
public void setStartingIntersection(int x, int y)
public Point getStartingIntersection()
public Point getScaledStartingIntersection()
public void setEndingIntersection(int x, int y)
public Point getEndingIntersection()
public Point getScaledEndingIntersection()
public void setRecord(MfRecord record)
public MfRecord getRecord()