public class AFPLineDataInfo
extends java.lang.Object
Constructor and Description |
---|
AFPLineDataInfo()
Default constructor
|
AFPLineDataInfo(AFPLineDataInfo template)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor()
Returns line color
|
int |
getRotation()
Returns line rotation
|
int |
getThickness()
Returns the line thickness
|
int |
getX1()
Returns the X1 coordinate
|
int |
getX2()
Returns the X2 coordinate
|
int |
getY1()
Returns the Y1 coordinate
|
int |
getY2()
Returns the Y2 coordinate
|
void |
setColor(java.awt.Color color)
Sets the line color
|
void |
setRotation(int rotation)
Sets the line rotation
|
void |
setThickness(int thickness)
Sets the line thickness
|
void |
setX1(int x1)
Sets the X1 coordinate
|
void |
setX2(int x2)
Sets the X2 coordinate
|
void |
setY1(int y1)
Sets the Y1 coordinate
|
void |
setY2(int y2)
Sets the Y2 coordinate
|
java.lang.String |
toString() |
public AFPLineDataInfo()
public AFPLineDataInfo(AFPLineDataInfo template)
template
- the object to copypublic int getX1()
public void setX1(int x1)
x1
- the X1 coordinatepublic int getY1()
public void setY1(int y1)
y1
- the Y1 coordinatepublic int getX2()
public void setX2(int x2)
x2
- the X2 coordinatepublic int getY2()
public void setY2(int y2)
y2
- the Y2 coordinatepublic int getThickness()
public void setThickness(int thickness)
thickness
- the line thicknesspublic java.awt.Color getColor()
public void setColor(java.awt.Color color)
color
- the line colorpublic int getRotation()
public void setRotation(int rotation)
rotation
- the line rotationpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.