PixelFormats.Indexed4 屬性

定義

取得像素格式,指定一個有 16 色調色盤的點陣圖。

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

屬性值

像素格式指定一個有 16 色調色盤的點陣圖。

備註

調色盤影像使用色彩表來決定影像的色彩使用。 影像中的每個像素都被映射到表格或調色盤中的特定顏色。 調色盤中的每種顏色以其索引號或值來識別,該值對應於其在表格中的位置。 Indexed4像素格式在表格中有 16 種顏色可用。

XAML 屬性使用方式

<object property="Indexed4"/>

適用於