PdfPageObject
  public
  
  
  abstract
  class
  PdfPageObject
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.graphics.pdf.component.PdfPageObject | 
Represents a page object on a page of a pdf document. This abstract class provides a base implementation for different types of PDF page objects.
Summary
| Public methods | |
|---|---|
| 
        
        
        
        
        
        float[] | 
      getMatrix()
      Returns the transformation matrix of the object. | 
| 
        
        
        
        
        
        int | 
      getPdfObjectType()
      Returns the type of the page object. | 
| 
        
        
        
        
        
        void | 
      setMatrix(Matrix matrix)
      Sets the transformation matrix of the object. | 
| 
        
        
        
        
        
        void | 
      transform(float a, float b, float c, float d, float e, float f)
      Transform the page object The matrix is composed as: |a c e| |b d f| and can be used to scale, rotate, shear and translate the |page_object|. | 
| Inherited methods | |
|---|---|
Public methods
getMatrix
public float[] getMatrix ()
Returns the transformation matrix of the object.
| Returns | |
|---|---|
| float[] | The transformation matrix of the object.
 This value cannot be null. | 
getPdfObjectType
public int getPdfObjectType ()
Returns the type of the page object.
| Returns | |
|---|---|
| int | The type of the page object. | 
setMatrix
public void setMatrix (Matrix matrix)
Sets the transformation matrix of the object.
| Parameters | |
|---|---|
| matrix | Matrix: The transformation matrix of the object.
 This value cannot benull. | 
transform
public void transform (float a, 
                float b, 
                float c, 
                float d, 
                float e, 
                float f)Transform the page object The matrix is composed as: |a c e| |b d f| and can be used to scale, rotate, shear and translate the |page_object|.
| Parameters | |
|---|---|
| a | float | 
| b | float | 
| c | float | 
| d | float | 
| e | float | 
| f | float | 
