public class Re extends Operator
Class representing re operator (add rectangle to the path).
Constructor and Description |
---|
Re()
Constructor for extracting goals.
|
Re(double x,
double y,
double width,
double height)
Constructor for writing program.
|
Re(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
double |
getHeight()
Height of the rectangle.
|
double |
getWidth()
Gets width of the rectangle.
|
double |
getX()
X coordinate of most left side of rectangle.
|
double |
getY()
Y coordinate of bottom side of rectangle.
|
void |
setHeight(double value)
Height of the rectangle.
|
void |
setWidth(double value)
Sets width of the rectangle.
|
void |
setX(double value)
X coordinate of most left side of rectangle.
|
void |
setY(double value)
Y coordinate of bottom side of rectangle.
|
String |
toString()
Returns text representation of the operator.
|
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString
public Re(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public Re()
Constructor for extracting goals.
public Re(double x, double y, double width, double height)
Constructor for writing program.
x
- The x-coordinate of the bottom-left corner of the rectangle.y
- The y-coordinate of the bottom-left corner of the rectangle.width
- The width of the rectangle.height
- The height of the rectangle.public double getX()
X coordinate of most left side of rectangle.
public void setX(double value)
X coordinate of most left side of rectangle.
value
- double valuepublic double getY()
Y coordinate of bottom side of rectangle.
public void setY(double value)
Y coordinate of bottom side of rectangle.
value
- double valuepublic double getWidth()
Gets width of the rectangle.
public void setWidth(double value)
Sets width of the rectangle.
value
- width of the rectangle.public double getHeight()
Height of the rectangle.
public void setHeight(double value)
Height of the rectangle.
value
- Height of the rectangle.public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.