org.eclipse.birt.chart.computation
Class RotatedRectangle

java.lang.Object
  extended byorg.eclipse.birt.chart.internal.computations.Polygon
      extended byorg.eclipse.birt.chart.computation.RotatedRectangle

public final class RotatedRectangle
extends Polygon

RotatedRectangle


Method Summary
 Point[] asPoints()
          Returns points as Point objects.
 int[] getSwtPoints()
          Returns points as a single array, [x1,y1,x2,y2,...]
 void shiftVertices(double dOffset)
          Shifts both X,Y values by given offset.
 void shiftXVertices(double dOffset)
          Shifts all X-value by given offset.
 void shiftYVertices(double dOffset)
          Shifts all Y-value by given offset.
 
Methods inherited from class org.eclipse.birt.chart.internal.computations.Polygon
add, add, contains, getBounds, getPoint, getPoints, intersects
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSwtPoints

public final int[] getSwtPoints()
Returns points as a single array, [x1,y1,x2,y2,...]

Returns:

shiftXVertices

public final void shiftXVertices(double dOffset)
Shifts all X-value by given offset.

Parameters:
dOffset -

shiftYVertices

public final void shiftYVertices(double dOffset)
Shifts all Y-value by given offset.

Parameters:
dOffset -

shiftVertices

public final void shiftVertices(double dOffset)
Shifts both X,Y values by given offset.

Parameters:
dOffset -

asPoints

public final Point[] asPoints()
Returns points as Point objects.

Returns:


Copyright © 2005 Actuate Corp. All rights reserved.