Package org.apache.fop.afp
Class AFPLineDataInfo
java.lang.Object
org.apache.fop.afp.AFPLineDataInfo
Line data information
-
Constructor Summary
ConstructorDescriptionDefault constructorAFPLineDataInfo
(AFPLineDataInfo template) Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Returns line colorint
Returns line rotationint
Returns the line thicknessint
getX1()
Returns the X1 coordinateint
getX2()
Returns the X2 coordinateint
getY1()
Returns the Y1 coordinateint
getY2()
Returns the Y2 coordinatevoid
Sets the line colorvoid
setRotation
(int rotation) Sets the line rotationvoid
setThickness
(int thickness) Sets the line thicknessvoid
setX1
(int x1) Sets the X1 coordinatevoid
setX2
(int x2) Sets the X2 coordinatevoid
setY1
(int y1) Sets the Y1 coordinatevoid
setY2
(int y2) Sets the Y2 coordinatetoString()
-
Constructor Details
-
AFPLineDataInfo
public AFPLineDataInfo()Default constructor -
AFPLineDataInfo
Copy constructor.- Parameters:
template
- the object to copy
-
-
Method Details
-
getX1
public int getX1()Returns the X1 coordinate- Returns:
- the X1 coordinate
-
setX1
public void setX1(int x1) Sets the X1 coordinate- Parameters:
x1
- the X1 coordinate
-
getY1
public int getY1()Returns the Y1 coordinate- Returns:
- the Y1 coordinate
-
setY1
public void setY1(int y1) Sets the Y1 coordinate- Parameters:
y1
- the Y1 coordinate
-
getX2
public int getX2()Returns the X2 coordinate- Returns:
- the X2 coordinate
-
setX2
public void setX2(int x2) Sets the X2 coordinate- Parameters:
x2
- the X2 coordinate
-
getY2
public int getY2()Returns the Y2 coordinate- Returns:
- the Y2 coordinate
-
setY2
public void setY2(int y2) Sets the Y2 coordinate- Parameters:
y2
- the Y2 coordinate
-
getThickness
public int getThickness()Returns the line thickness- Returns:
- the line thickness
-
setThickness
public void setThickness(int thickness) Sets the line thickness- Parameters:
thickness
- the line thickness
-
getColor
Returns line color- Returns:
- the line color
-
setColor
Sets the line color- Parameters:
color
- the line color
-
getRotation
public int getRotation()Returns line rotation- Returns:
- the line rotation
-
setRotation
public void setRotation(int rotation) Sets the line rotation- Parameters:
rotation
- the line rotation
-
toString
-