com.java4less.rreport
Class RLineStyle
java.lang.Object
|
+--com.java4less.rreport.RLineStyle
- public class RLineStyle
- extends java.lang.Object
Defines color, width and style of a line.
Constructor Summary |
RLineStyle(float width,
java.awt.Color c,
int t)
Creates a line style. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LINE_NORMAL
public static final int LINE_NORMAL
LINE_DASHED
public static final int LINE_DASHED
LINE_DOTS
public static final int LINE_DOTS
RLineStyle
public RLineStyle(float width,
java.awt.Color c,
int t)
- Creates a line style. The parameters mean:
- Width.
- Color.
- Type: LINE_NORMAL,LINE_DASHED or LINE_DOTS.
Example: new RLineStyle(0.2f,java.awt.Color.black,RLineStyle.LINE_NORMAL);
getType
public int getType()
- returns line style.
setType
public void setType(int t)
- sets line style
getColor
public java.awt.Color getColor()
- line color
setColor
public void setColor(java.awt.Color c)
- line color
getWidth
public float getWidth()
- line width
setWidth
public void setWidth(float f)
- line width