Package org.apache.fop.afp
Class AFPLineDataInfo
java.lang.Object
org.apache.fop.afp.AFPLineDataInfo
Line data information
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAFPLineDataInfo(AFPLineDataInfo template) Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Returns line colorintReturns line rotationintReturns the line thicknessintgetX1()Returns the X1 coordinateintgetX2()Returns the X2 coordinateintgetY1()Returns the Y1 coordinateintgetY2()Returns the Y2 coordinatevoidSets the line colorvoidsetRotation(int rotation) Sets the line rotationvoidsetThickness(int thickness) Sets the line thicknessvoidsetX1(int x1) Sets the X1 coordinatevoidsetX2(int x2) Sets the X2 coordinatevoidsetY1(int y1) Sets the Y1 coordinatevoidsetY2(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
-