Class ColorantRgb

Class ColorantRgb

Tên không gian: Aspose.Imaging.Xmp.Types.Complex.Colorant Tổng hợp: Aspose.Imaging.dll (25.5.0)

Màu sắc RGB

[JsonObject(MemberSerialization.OptIn)]
public sealed class ColorantRgb : ColorantBase, IXmpType, ICloneable

Inheritance

object XmpTypeBase ComplexTypeBase ColorantBase ColorantRgb

Implements

IXmpType , ICloneable

Thành viên thừa kế

ColorantBase.GetXmpRepresentation() , ColorantBase.Mode , ColorantBase.SwatchName , ColorantBase.ColorType , ComplexTypeBase.GetXmpRepresentation() , ComplexTypeBase.Prefix , ComplexTypeBase.NamespaceUri , XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

ColorantRgb()

Bắt đầu một trường hợp mới của lớp Aspose.Imaging.Xmp.Types.Complex.Colorant.Rgb.

[JsonConstructor]
public ColorantRgb()

ColorantRgb(byte, byte, byte)

Bắt đầu một trường hợp mới của lớp Aspose.Imaging.Xmp.Types.Complex.Colorant.Rgb.

public ColorantRgb(byte red, byte green, byte blue)

Parameters

red byte

Giá trị của thành phần đỏ.

green byte

Giá trị của thành phần xanh

blue byte

Giá trị của thành phần màu xanh

Properties

Blue

Nhận hoặc đặt giá trị thành phần màu xanh.

[JsonProperty]
public byte Blue { get; set; }

Giá trị bất động sản

byte

Green

Nhận hoặc đặt giá trị thành phần xanh.

[JsonProperty]
public byte Green { get; set; }

Giá trị bất động sản

byte

Red

Nhận hoặc đặt giá trị thành phần màu đỏ.

[JsonProperty]
public byte Red { get; set; }

Giá trị bất động sản

byte

Methods

GetXmpRepresentation()

Nhận giá trị dòng chứa trong định dạng XMP.

public override string GetXmpRepresentation()

Returns

string

Trả lại giá trị của string trong định dạng XMP.

 Tiếng Việt