public class BorderPaintingInfo extends java.lang.Object implements PaintingInfo
Constructor and Description |
---|
BorderPaintingInfo(float x1,
float y1,
float x2,
float y2,
boolean isHorizontal,
int style,
java.awt.Color color)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor()
Returns the color
|
int |
getStyle()
Returns the style
|
float |
getX1()
Returns the x1 coordinate
|
float |
getX2()
Returns the x2 coordinate
|
float |
getY1()
Returns the y1 coordinate
|
float |
getY2()
Returns the y2 coordinate
|
boolean |
isHorizontal()
Returns true when this is a horizontal line
|
public BorderPaintingInfo(float x1, float y1, float x2, float y2, boolean isHorizontal, int style, java.awt.Color color)
x1
- the x1 coordinatey1
- the y1 coordinatex2
- the x2 coordinatey2
- the y2 coordinateisHorizontal
- true when the border line is horizontalstyle
- the border stylecolor
- the border colorpublic float getX1()
public float getY1()
public float getX2()
public float getY2()
public boolean isHorizontal()
public int getStyle()
public java.awt.Color getColor()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.