public class PDRange extends Object implements COSObjectable
| Constructor and Description | 
|---|
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
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.public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic 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.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.