Platform SDK: DirectX

DirectDrawSurface7.SetDrawStyle

DirectDrawSurface7.SetDrawStyle は、線スタイルを設定する。

object.SetDrawStyle(drawStyle As Long)

パラメータ

object
DirectDrawSurface7 オブジェクトを表すオブジェクト式。
drawStyle
次の線スタイルのいずれかに設定する。
設定 説明
0 (デフォルト) 実線
1 破線
2 点線
3 一点破線
4 二点破線
5 透明
6 実線

エラー コード

失敗すればエラーが発生し、Err.Number が設定される。

参照

DirectDrawSurface7.GetDrawStyle