Style Intelligence v12.0

inetsoft.report
Class PageLayout.Oval

java.lang.Object
  extended by inetsoft.report.PageLayout.Shape
      extended by inetsoft.report.PageLayout.Oval
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
PageLayout

public static class PageLayout.Oval
extends PageLayout.Shape

An oval or circle shape.

See Also:
Serialized Form

Constructor Summary
PageLayout.Oval()
           
PageLayout.Oval(double x, double y, double width, double height)
          Create a oval shape.
 
Method Summary
 boolean contains(int x, int y)
          Check if the point falls inside the shape.
 void copy(PageLayout.Shape shape)
          Copy the attributes of the shape into this shape.
 Rectangle getBounds()
          Get the bounding box of this paintable.
 Color getFillColor()
          Get the fill color of this area.
 double getHeight()
          Get the height.
 double getWidth()
          Get the width.
 double getX()
          Get the left edge x position.
 double getY()
          Get the top edge y position.
 void move(double x, double y)
          Move the shape by the specified x/y amount.
 void paint(Graphics g)
          Paint this shape.
 void setFillColor(Color fill)
          Set the fill color of this area.
 void setHeight(double height)
          Set the height.
 void setWidth(double width)
          Set the width.
 void setX(double x)
          Set the left edge x position.
 void setY(double y)
          Set the top edge y position.
 
Methods inherited from class inetsoft.report.PageLayout.Shape
clone, contains, getColor, getStyle, getXScale, getYScale, setColor, setScale, setStyle
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageLayout.Oval

public PageLayout.Oval()

PageLayout.Oval

public PageLayout.Oval(double x,
                       double y,
                       double width,
                       double height)
Create a oval shape. The x and y coordinates are specified as points relative to the left-upper cornor of the page. The width and height are specified as points. All position and length are specified as points (1/72 inch).

Method Detail

setX

public void setX(double x)
Set the left edge x position.


getX

public double getX()
Get the left edge x position.


setY

public void setY(double y)
Set the top edge y position.


getY

public double getY()
Get the top edge y position.


setWidth

public void setWidth(double width)
Set the width.


getWidth

public double getWidth()
Get the width.


setHeight

public void setHeight(double height)
Set the height.


getHeight

public double getHeight()
Get the height.


setFillColor

public void setFillColor(Color fill)
Set the fill color of this area.


getFillColor

public Color getFillColor()
Get the fill color of this area.


paint

public void paint(Graphics g)
Paint this shape.

Specified by:
paint in class PageLayout.Shape

getBounds

public Rectangle getBounds()
Get the bounding box of this paintable.

Specified by:
getBounds in class PageLayout.Shape

move

public void move(double x,
                 double y)
Move the shape by the specified x/y amount.

Specified by:
move in class PageLayout.Shape

contains

public boolean contains(int x,
                        int y)
Check if the point falls inside the shape.

Specified by:
contains in class PageLayout.Shape

copy

public void copy(PageLayout.Shape shape)
Copy the attributes of the shape into this shape.

Overrides:
copy in class PageLayout.Shape

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.