Class RGBColor

Class RGBColor

名称: Aspose.Html.Dom.Css セットアップ: Aspose.HTML.dll (25.4.0)

RGBColor インターフェイスは RGB 色の値を表すために使用されます. このインターフェイスは、基礎的なスタイル属性の値を反映します. したがって、CSSPrimitiveValue オブジェクトの変更は、スタイル属性を変更します。

[ComVisible(true)]
[DOMObject]
[DOMName("RGBColor")]
public class RGBColor : DOMObject, INotifyPropertyChanged

Inheritance

object DOMObject RGBColor

Implements

INotifyPropertyChanged

相続人

DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

Alpha

この属性は、RGB色のアルファ値に使用されます。

public CSSPrimitiveValue Alpha { get; }

不動産価値

CSSPrimitiveValue

Blue

この属性は、RGB色のブルー値に使用されます。

[DOMName("blue")]
public CSSPrimitiveValue Blue { get; }

不動産価値

CSSPrimitiveValue

Green

この属性は、RGB色のグリーン値のために使用されます。

[DOMName("green")]
public CSSPrimitiveValue Green { get; }

不動産価値

CSSPrimitiveValue

Red

この属性は、RGB色の赤値のために使用されます。

[DOMName("red")]
public CSSPrimitiveValue Red { get; }

不動産価値

CSSPrimitiveValue

Methods

ToNative()

オリジナルの色のオブジェクトに変換します。

public Color ToNative()

Returns

Color

System.Drawing.Color オブジェクト

 日本語