TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.igc.internal
Interface IShape

All Known Subinterfaces:
IPolygon, IRect
All Known Implementing Classes:
Circle, Ellipse, Oval, Polygon, Rect, RoundedRect, TAbstractCell, TAbstractCellContainer, TCell, TCellBorder, TCellContainer, TCellData, TCellFocusMark, TCellFolder, TCellImage, TCellLine, TCellLinePrefix, TCellParagraph, TCellRenderable, TCellSymbol, TCellTable, TCellText, TMLayoutContentCellContainer

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public interface IShape

Shapes have interior and exterior, it's possible to test if shape contains a point. It's a good idea for a shape to implements also interface IShapeFiller, but for flexibility this is not mandatory.

See Also:
IShapeFiller.

Method Summary
 boolean contains(int x, int y)
          Deprecated.  
 boolean contains(IPoint p)
          Deprecated.  
 IShape copyShape()
          Deprecated.  
 IRect getBounds()
          Deprecated.  
 

Method Detail

copyShape

IShape copyShape()
Deprecated. 
Returns:
full deep-copy of this shape

contains

boolean contains(int x,
                 int y)
Deprecated. 
Returns:
true if point (in pixels) is contained in shape

contains

boolean contains(IPoint p)
Deprecated. 
Returns:
true if point (in pixels) is contained in shape

getBounds

IRect getBounds()
Deprecated. 
Returns:
bounding box of shape

TPTP 4.6.0 Platform Project
Internal API Specification