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
| Name | Type | Access | 描述 |
|---|---|---|---|
| 名称 | string | r/w | 获取或设置文本图层的名称。 |
| text | string | r/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:
| 参数 | Type | Description |
|---|---|---|
| layer_name | string | 图层的名称。 |
| layer_text | string | 图层文本。 |
Method: clone()
clone()
克隆此实例。
Returns
| Type | Description |
|---|---|
| System.Object | 成员逐个克隆。 |
Method: get_xmp_representation()
get_xmp_representation()
返回 XMP 格式的字符串值。
Returns
| Type | Description |
|---|---|
| string | 返回包含 XMP 表示的字符串。 |