TPTP 4.5.0 Platform Project
Internal API Specification

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

All Superinterfaces:
IShape
All Known Implementing Classes:
Polygon

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 IPolygon
extends IShape

Interface to access to a polygon defined in XY coodinate space.


Method Summary
 int getPolySize()
          Deprecated.  
 int getPolyX(int index)
          Deprecated.  
 int getPolyY(int index)
          Deprecated.  
 boolean isPolyClosed()
          Deprecated.  
 
Methods inherited from interface org.eclipse.tptp.platform.report.igc.internal.IShape
contains, contains, copyShape, getBounds
 

Method Detail

getPolySize

int getPolySize()
Deprecated. 
Returns:
the number of polygon's points

getPolyX

int getPolyX(int index)
Deprecated. 
Returns:
x coordinate of point at given index

getPolyY

int getPolyY(int index)
Deprecated. 
Returns:
y coordinate of point at given index

isPolyClosed

boolean isPolyClosed()
Deprecated. 
Returns:
true is polygon is closed. IRender use this to draw a closed polygon. IPolygon implementer doesn't have to create a virtual point over first poly's point to close the figure.

TPTP 4.5.0 Platform Project
Internal API Specification