|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.common.PDMatrix
public class PDMatrix
This class will be used for matrix manipulation.
Constructor Summary | |
---|---|
PDMatrix()
Constructor. |
|
PDMatrix(COSArray array)
Constructor. |
Method Summary | |
---|---|
COSArray |
getCOSArray()
This will get the underlying array value. |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
float |
getValue(int row,
int column)
This will get a matrix value at some point. |
void |
setValue(int row,
int column,
float value)
This will set a value at a position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDMatrix()
public PDMatrix(COSArray array)
array
- The array that describes the matrix.Method Detail |
---|
public COSArray getCOSArray()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public float getValue(int row, int column)
row
- The row to get the value from.column
- The column to get the value from.
public void setValue(int row, int column, float value)
row
- The row to set the value at.column
- the column to set the value at.value
- The value to set at the position.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |