jet.api
Class RoundBox

java.lang.Object
  extended by jet.api.Shape
      extended by jet.api.RoundBox

public class RoundBox
extends Shape

Class RoundBox wraps a RoundBox object's information.


Constructor Summary
RoundBox()
          Constructor.
 
Method Summary
 double getCornerFactor()
          Gets the round box CornerFactor.
 void setCornerFactor(double cornerFactor)
          Sets round box CornerFactor.
 
Methods inherited from class jet.api.Shape
getBottomAttach, getBottomAttachX, getBottomAttachY, getShapeType, getTopAttach, getTopAttachX, getTopAttachY, setBottomAttach, setBottomAttachX, setBottomAttachY, setTopAttach, setTopAttachX, setTopAttachY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundBox

public RoundBox()
Constructor. Defines a JReport RoundBox object.

Method Detail

setCornerFactor

public void setCornerFactor(double cornerFactor)
Sets round box CornerFactor. Specifies the relative radius of the roundbox's corners.

Parameters:
cornerFactor - Value of cornerFactor. The unit of value can be set by #API.setUnit(int), and the default unit is inch.

getCornerFactor

public double getCornerFactor()
Gets the round box CornerFactor.

Returns:
value of CornerFactor.