| |
|
| java.lang.Object net.sf.jasperreports.engine.JRPrintImageArea
JRPrintImageArea | public class JRPrintImageArea (Code) | | An area on an image.
author: Lucian Chirita (lucianc@users.sourceforge.net) version: $Id: JRPrintImageArea.java 1370 2006-09-01 14:28:03Z lucianc $ See Also: JRPrintImageAreaHyperlink |
SHAPE_CIRCLE | final public static byte SHAPE_CIRCLE(Code) | | |
SHAPE_DEFAULT | final public static byte SHAPE_DEFAULT(Code) | | |
SHAPE_HTML_CIRCLE | final public static String SHAPE_HTML_CIRCLE(Code) | | |
SHAPE_HTML_DEFAULT | final public static String SHAPE_HTML_DEFAULT(Code) | | |
SHAPE_HTML_POLYGON | final public static String SHAPE_HTML_POLYGON(Code) | | |
SHAPE_HTML_RECTANGLE | final public static String SHAPE_HTML_RECTANGLE(Code) | | |
SHAPE_POLYGON | final public static byte SHAPE_POLYGON(Code) | | |
SHAPE_RECTANGLE | final public static byte SHAPE_RECTANGLE(Code) | | |
JRPrintImageArea | public JRPrintImageArea()(Code) | | Creates a blank image area.
|
containsPoint | public boolean containsPoint(int x, int y)(Code) | | Decides whether a specific point is inside this area.
Parameters: x - the X coordinate of the point Parameters: y - the Y coordinate of the point whether the point is inside this area |
createAWTRectangle | protected Shape createAWTRectangle()(Code) | | |
ensureAWTShape | protected void ensureAWTShape()(Code) | | |
getCoordinates | public int[] getCoordinates()(Code) | | Returns the shape coordinates.
the shape coordinates |
getHtmlShape | public static String getHtmlShape(byte shape)(Code) | | Returns the HTML shape type corresponding to a shape type.
Parameters: shape - the shape type the HTML shape type |
getShape | public static byte getShape(String htmlShape)(Code) | | Returns the shape constant corresponding the HTML are shape type.
Parameters: htmlShape - the HTML are shape type the corresponding shape constant |
getShape | public byte getShape()(Code) | | Returns the shape type.
the shape type |
hasAWTShape | protected boolean hasAWTShape()(Code) | | |
setCoordinates | public void setCoordinates(int[] coordinates)(Code) | | Sets the shape coordinates.
Parameters: coordinates - the shape coordinates |
setShape | public void setShape(byte shape)(Code) | | Sets the area shape type.
Parameters: shape - the shape type, one of |
|
|
|