com.spire.pdf
Class PdfPageLayer

java.lang.Object
  extended by com.spire.pdf.PdfPageLayer
All Implemented Interfaces:
IPdfWrapper

public class PdfPageLayer
extends java.lang.Object
implements IPdfWrapper

Describes layer of the page.


Constructor Summary
PdfPageLayer(PdfPageBase page)
          Creates new layer.
PdfPageLayer(PdfPageBase page, boolean clipPageTemplates)
           
PdfPageLayer(PdfPageBase page, PdfStream stream)
           
 
Method Summary
 PdfColorSpace getColorspace()
          get the Colorspace.
 PdfCanvas getGraphics()
          Gets Graphics context of the layer.
 PdfPageLayerCollection getLayers()
          gets the layer collection.
 PdfPageBase getPage()
          Gets parent page of the layer.
 void setColorspace(PdfColorSpace value)
          set the Colorspace.
 

Constructor Detail

PdfPageLayer

public PdfPageLayer(PdfPageBase page)
Creates new layer.

Parameters:
page - Parent page of the layer.

PdfPageLayer

public PdfPageLayer(PdfPageBase page,
                    PdfStream stream)

PdfPageLayer

public PdfPageLayer(PdfPageBase page,
                    boolean clipPageTemplates)
Method Detail

getColorspace

public PdfColorSpace getColorspace()
get the Colorspace.

Returns:
PdfColorSpace

setColorspace

public void setColorspace(PdfColorSpace value)
set the Colorspace.

Parameters:
value -

getPage

public PdfPageBase getPage()
Gets parent page of the layer.


getGraphics

public PdfCanvas getGraphics()
Gets Graphics context of the layer.


getLayers

public PdfPageLayerCollection getLayers()
gets the layer collection.

Returns:
m_layer