Layer 类

Summary: Represents Photoshop text layer.

Module: aspose.imaging.xmp.schemas.photoshop

Full Name: aspose.imaging.xmp.schemas.photoshop.Layer

Inheritance: IXmpType, XmpTypeBase

Constructors

Name描述
Layer()初始化一个新的 Layer 类实例。
Layer(layer_name, layer_text)初始化一个新的 Layer 类实例。

Properties

NameTypeAccess描述
名称stringr/w获取或设置文本图层的名称。
textstringr/w获取或设置图层的文本内容。

Methods

Name描述
clone()克隆此实例。
get_xmp_representation()返回 XMP 格式的字符串值。

Constructor: Layer()

 Layer() 

初始化一个新的 Layer 类实例。

Constructor: Layer(layer_name, layer_text)

 Layer(layer_name, layer_text) 

初始化一个新的 Layer 类实例。

Parameters:

参数TypeDescription
layer_namestring图层的名称。
layer_textstring图层文本。

Method: clone()

 clone() 

克隆此实例。

Returns

TypeDescription
System.Object成员逐个克隆。

Method: get_xmp_representation()

 get_xmp_representation() 

返回 XMP 格式的字符串值。

Returns

TypeDescription
string返回包含 XMP 表示的字符串。