PixelFormats.Indexed2 屬性

定義

取得使用 4 個色彩指定調色盤點陣圖的像素格式。

public:
 static property System::Windows::Media::PixelFormat Indexed2 { System::Windows::Media::PixelFormat get(); };
public static System.Windows.Media.PixelFormat Indexed2 { get; }
member this.Indexed2 : System.Windows.Media.PixelFormat
Public Shared ReadOnly Property Indexed2 As PixelFormat

屬性值

PixelFormat

使用 4 個色彩指定調色盤點陣圖的像素格式。

備註

調色盤影像會使用色彩表格來決定影像的色彩使用量。 影像中的每個圖元都會對應至資料表或調色盤中的特定色彩。 調色盤中的每個色彩都會以其索引編號或值來識別,其對應于其在資料表中的位置。 Indexed2像素格式在表格中有 4 種可用色彩。

XAML Attribute Usage

<object property="Indexed2"/>  

適用於