Class Layer
ชื่อพื้นที่: Aspose.Imaging.Xmp.Schemas.Photoshop การประกอบ: Aspose.Imaging.dll (25.4.0)
แสดง Photoshop Text Layer
[JsonObject(MemberSerialization.OptIn)]
public class Layer : XmpTypeBase, IXmpType, ICloneable, IEquatable<layer>
Inheritance
object ← XmpTypeBase ← Layer
Implements
IXmpType
,
ICloneable
,
IEquatable
อนุญาโตตุลาการ
XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Layer(รั้ว, รั้ว)
เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Imaging.Xmp.Schemas.Photoshop.Layer
public Layer(string layerName, string layerText)
Parameters
layerName
string
ชื่อของชั้น
layerText
string
เคลือบข้อความ
Layer()
เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Imaging.Xmp.Schemas.Photoshop.Layer
[JsonConstructor]
public Layer()
Properties
Name
รับหรือตั้งชื่อของชั้นข้อความ
[JsonProperty]
public string Name { get; set; }
คุณสมบัติมูลค่า
Text
รับหรือตั้งค่าเนื้อหาข้อความของชั้น
[JsonProperty]
public string Text { get; set; }
คุณสมบัติมูลค่า
Methods
Equals(วัตถุ)
กําหนดว่า System.Object ที่ระบุเท่ากับตัวอย่างนี้หรือไม่
public override bool Equals(object obj)
Parameters
obj
object
ระบบ.วัตถุในการเปรียบเทียบกับตัวอย่างนี้
Returns
‘จริง’ ถ้า System.Object ที่ระบุเท่ากับตัวอย่างนี้; ในทางอื่น ๆ, ‘ผิดพลาด’.
Equals(Layer)
แสดงให้เห็นว่าวัตถุปัจจุบันเท่ากับวัตถุอื่น ๆ ของประเภทเดียวกันหรือไม่
public bool Equals(Layer other)
Parameters
other
Layer
เป็นวัตถุที่เปรียบเทียบกับวัตถุนี้
Returns
จริงถ้าวัตถุปัจจุบันเท่ากับพารามิเตอร์ อื่น ๆ; ในทางอื่น ๆ, จริง.
GetHashCode()
กลับรหัส hash สําหรับตัวอย่างนี้
public override int GetHashCode()
Returns
รหัส hash สําหรับตัวอย่างนี้เหมาะสําหรับการใช้งานในอัลกอริทึม hashing และโครงสร้างข้อมูลเช่นตาราง hash
GetXmpRepresentation()
การคืนค่าของ string ในรูปแบบ XMP
public override string GetXmpRepresentation()
Returns
กลับลวดที่มีการแสดงผล xmp