Layer

Inheritance: java.lang.Object

public class Layer

Represents page layer.

Constructors

ConstructorDescription
Layer(String id, String name)Initializes a new instance of the Layer class.

Methods

MethodDescription
getName()Gets the layer name.
getId()Gets the layer id.
getContents()Gets the layer content.

Layer(String id, String name)

public Layer(String id, String name)

Initializes a new instance of the Layer class.

Parameters:

ParameterTypeDescription
idjava.lang.StringThe layer id
namejava.lang.StringThe layer name

getName()

public String getName()

Gets the layer name.

Returns: java.lang.String - String value

getId()

public String getId()

Gets the layer id.

Returns: java.lang.String - String value

getContents()

public List<Operator> getContents()

Gets the layer content.

Returns: java.util.List<com.aspose.pdf.Operator> - List object