Class Layer

Class Layer

Numele spaţiului: Aspose.Imaging.Xmp.Schemas.Photoshop Asamblare: Aspose.Imaging.dll (25.5.0)

Reprezintă stratul de text Photoshop.

[JsonObject(MemberSerialization.OptIn)]
public class Layer : XmpTypeBase, IXmpType, ICloneable, IEquatable<layer>

Inheritance

object XmpTypeBase Layer

Implements

IXmpType , ICloneable , IEquatable

Membrii moștenitori

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(String și String)

Inițializează o nouă instanță a clasei Aspose.Imaging.Xmp.Schemas.Photoshop.Layer.

public Layer(string layerName, string layerText)

Parameters

layerName string

Numele stratului.

layerText string

Textul de strat.

Layer()

Inițializează o nouă instanță a clasei Aspose.Imaging.Xmp.Schemas.Photoshop.Layer.

[JsonConstructor]
public Layer()

Properties

Name

Obține sau stabilește numele stratului de text.

[JsonProperty]
public string Name { get; set; }

Valoarea proprietății

string

Text

Obține sau stabilește conținutul text al stratului.

[JsonProperty]
public string Text { get; set; }

Valoarea proprietății

string

Methods

Equals(Obiectul)

Determine dacă Sistemul.Obiect specificat este egal cu această instanță.

public override bool Equals(object obj)

Parameters

obj object

Sistemul.Obiect pentru a compara cu această instanță.

Returns

bool

‘realitate’ dacă Sistemul.Obiectul specificat este egal cu acest caz; altfel, ‘falsa’.

Equals(Layer)

Indică dacă obiectul actual este egal cu alt obiect de același tip.

public bool Equals(Layer other)

Parameters

other Layer

Un obiect pentru a compara cu acest obiect.

Returns

bool

adevărat dacă obiectul curent este egal cu parametrul altă; altfel, fals.

GetHashCode()

Întoarceți un cod hash pentru acest caz.

public override int GetHashCode()

Returns

int

Un cod de hash pentru acest exemplu, potrivit pentru utilizare în algoritmi de hashing și structuri de date, cum ar fi un tabel de hash.

GetXmpRepresentation()

Returnați valoarea conținută în format XMP.

public override string GetXmpRepresentation()

Returns

string

Returnează stringul care conține o reprezentare xmp.

 Română