Win32 API 日本語リファレンス
ホームGraphics.Direct2D › D2D1_FLOOD_PROP

D2D1_FLOOD_PROP

列挙型
基底型i4

メンバー 1

名前10進16進説明
D2D1_FLOOD_PROP_COLOR00x0

ビットマップの色と不透明度です。このプロパティは D2D1_VECTOR_4F です。各チャネルの個々の値は FLOAT 型で、範囲の制限も単位もありません。 この効果は各チャネルの値を変更しません。

各チャネルの RGBA 値は 0 から 1 の範囲です。

型は D2D1_VECTOR_4F です。

既定値は {0.0f, 0.0f, 0.0f, 1.0f} です。

公式ドキュメント

Flood 効果のプロパティを識別する識別子です。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum D2D1_FLOOD_PROP : int {
    D2D1_FLOOD_PROP_COLOR = 0
} D2D1_FLOOD_PROP;
public enum D2D1_FLOOD_PROP : int
{
    D2D1_FLOOD_PROP_COLOR = 0,
}
Public Enum D2D1_FLOOD_PROP As Integer
    D2D1_FLOOD_PROP_COLOR = 0
End Enum
import enum

class D2D1_FLOOD_PROP(enum.IntEnum):
    D2D1_FLOOD_PROP_COLOR = 0
// D2D1_FLOOD_PROP
pub const D2D1_FLOOD_PROP_COLOR: i32 = 0;
// D2D1_FLOOD_PROP
const (
	D2D1_FLOOD_PROP_COLOR int32 = 0
)
const
  D2D1_FLOOD_PROP_COLOR = 0;
// D2D1_FLOOD_PROP
pub const D2D1_FLOOD_PROP_COLOR: i32 = 0;
const
  D2D1_FLOOD_PROP_COLOR* = 0
enum D2D1_FLOOD_PROP : int {
    D2D1_FLOOD_PROP_COLOR = 0,
}
#define global D2D1_FLOOD_PROP_COLOR 0x0