Class ColorantBase
Tên không gian: Aspose.Imaging.Xmp.Types.Complex.Colorant Tổng hợp: Aspose.Imaging.dll (25.5.0)
Màn hình XMP Colorant
[JsonObject(MemberSerialization.OptIn)]
public abstract class ColorantBase : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← ColorantBase
Derived
ColorantCmyk , ColorantLab , ColorantRgb
Implements
Thành viên thừa kế
ComplexTypeBase.VValues , ComplexTypeBase.GetXmpRepresentation() , ComplexTypeBase.Add(string, object) , ComplexTypeBase.Prefix , ComplexTypeBase.NamespaceUri , 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
ColorantBase(ColorMode)
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.Xmp.Types.Complex.Colorant. ColorantBase.
protected ColorantBase(ColorMode mode)
Parameters
mode
ColorMode
Thời trang màu sắc
Properties
ColorType
Nhận hoặc đặt loại màu.
[JsonProperty]
public ColorType ColorType { get; set; }
Giá trị bất động sản
Mode
Nhận Aspose.Imaging.Xmp.Types.Complex.Colorant.colorMode.
public ColorMode Mode { get; }
Giá trị bất động sản
SwatchName
Nhận hoặc đặt tên của swatch.
[JsonProperty]
public string SwatchName { get; set; }
Giá trị bất động sản
Methods
GetXmpRepresentation()
Nhận giá trị dòng chứa trong định dạng XMP.
public override string GetXmpRepresentation()
Returns
Trả lại giá trị của string trong định dạng XMP.