|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.PageLayout.Shape
public abstract static class PageLayout.Shape
This class defines a shape on a page.
| Constructor Summary | |
|---|---|
PageLayout.Shape()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Clone a shape. |
abstract boolean |
contains(int x,
int y)
Check if the point falls inside the shape. |
boolean |
contains(Rectangle rect)
Check if a rectangle is completely contained in the shape. |
void |
copy(PageLayout.Shape shape)
Copy the attributes of the shape into this shape. |
abstract Rectangle |
getBounds()
Get the bounding box of this paintable. |
Color |
getColor()
Get the color of this shape. |
int |
getStyle()
Get the line style of this shape. |
double |
getXScale()
Get the X direction scaling factor. |
double |
getYScale()
Get the Y direction scaling factor. |
abstract void |
move(double x,
double y)
Move the shape by the specified x/y amount. |
abstract void |
paint(Graphics g)
Paint this shape. |
void |
setColor(Color color)
Set the color of this shape. |
void |
setScale(double xs,
double ys)
Scale the shape. |
void |
setStyle(int style)
Set the line style of this shape. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageLayout.Shape()
| Method Detail |
|---|
public void setColor(Color color)
public Color getColor()
public void setStyle(int style)
public int getStyle()
public void setScale(double xs,
double ys)
xs - x scale 0 to 1.ys - y scale 0 to 1.public double getXScale()
public double getYScale()
public abstract Rectangle getBounds()
public abstract void move(double x,
double y)
public abstract boolean contains(int x,
int y)
public boolean contains(Rectangle rect)
public abstract void paint(Graphics g)
public Object clone()
clone in class Objectpublic void copy(PageLayout.Shape shape)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||