ホーム › Graphics.Direct2D › D2D1_CONTRAST_PROP
D2D1_CONTRAST_PROP
列挙型メンバー 2
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| D2D1_CONTRAST_PROP_CONTRAST | 0 | 0x0 | D2D1_CONTRAST_PROP_CONTRAST プロパティは、画像のコントラストを調整する量を示す float 値です。負の値はコントラストを低下させ、正の値はコントラストを増加させます。 最小値は -1.0f、最大値は 1.0f です。このプロパティの既定値は 0.0f です。 |
| D2D1_CONTRAST_PROP_CLAMP_INPUT | 1 | 0x1 | D2D1_CONTRAST_PROP_CLAMP_INPUT プロパティは、入力を [0.0, 1.0] の範囲にクランプするかどうかを示すブール値です。このプロパティの既定値は FALSE です。 |
公式ドキュメント
コントラスト効果のプロパティを表す識別子です。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum D2D1_CONTRAST_PROP : int {
D2D1_CONTRAST_PROP_CONTRAST = 0,
D2D1_CONTRAST_PROP_CLAMP_INPUT = 1
} D2D1_CONTRAST_PROP;public enum D2D1_CONTRAST_PROP : int
{
D2D1_CONTRAST_PROP_CONTRAST = 0,
D2D1_CONTRAST_PROP_CLAMP_INPUT = 1,
}Public Enum D2D1_CONTRAST_PROP As Integer
D2D1_CONTRAST_PROP_CONTRAST = 0
D2D1_CONTRAST_PROP_CLAMP_INPUT = 1
End Enumimport enum
class D2D1_CONTRAST_PROP(enum.IntEnum):
D2D1_CONTRAST_PROP_CONTRAST = 0
D2D1_CONTRAST_PROP_CLAMP_INPUT = 1// D2D1_CONTRAST_PROP
pub const D2D1_CONTRAST_PROP_CONTRAST: i32 = 0;
pub const D2D1_CONTRAST_PROP_CLAMP_INPUT: i32 = 1;// D2D1_CONTRAST_PROP
const (
D2D1_CONTRAST_PROP_CONTRAST int32 = 0
D2D1_CONTRAST_PROP_CLAMP_INPUT int32 = 1
)const
D2D1_CONTRAST_PROP_CONTRAST = 0;
D2D1_CONTRAST_PROP_CLAMP_INPUT = 1;// D2D1_CONTRAST_PROP
pub const D2D1_CONTRAST_PROP_CONTRAST: i32 = 0;
pub const D2D1_CONTRAST_PROP_CLAMP_INPUT: i32 = 1;const
D2D1_CONTRAST_PROP_CONTRAST* = 0
D2D1_CONTRAST_PROP_CLAMP_INPUT* = 1enum D2D1_CONTRAST_PROP : int {
D2D1_CONTRAST_PROP_CONTRAST = 0,
D2D1_CONTRAST_PROP_CLAMP_INPUT = 1,
}#define global D2D1_CONTRAST_PROP_CONTRAST 0x0
#define global D2D1_CONTRAST_PROP_CLAMP_INPUT 0x1