|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.common.PDRange
public class PDRange
This class will be used to signify a range. a(min) <= a* <= a(max)
Constructor Summary | |
---|---|
PDRange()
Constructor with an initial range of 0..1. |
|
PDRange(COSArray range)
Constructor assumes a starting index of 0. |
|
PDRange(COSArray range,
int index)
Constructor with an index into an array. |
Method Summary | |
---|---|
COSArray |
getCOSArray()
This will get the underlying array value. |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
float |
getMax()
This will get the maximum value of the range. |
float |
getMin()
This will get the minimum value of the range. |
void |
setMax(float max)
This will set the maximum value for the range. |
void |
setMin(float min)
This will set the minimum value for the range. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDRange()
public PDRange(COSArray range)
range
- The array that describes the range.public PDRange(COSArray range, int index)
new PDRange( array, 1 )
.
range
- The array that describes the indexindex
- The range index into the array for the start of the range.Method Detail |
---|
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSArray getCOSArray()
public float getMin()
public void setMin(float min)
min
- The new minimum for the range.public float getMax()
public void setMax(float max)
max
- The new maximum for the range.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |