VisualStyleRenderer.DrawEdge メソッド

定義

指定した外接する四角形の 1 つ以上の端を描画します。

public:
 System::Drawing::Rectangle DrawEdge(System::Drawing::IDeviceContext ^ dc, System::Drawing::Rectangle bounds, System::Windows::Forms::VisualStyles::Edges edges, System::Windows::Forms::VisualStyles::EdgeStyle style, System::Windows::Forms::VisualStyles::EdgeEffects effects);
public System.Drawing.Rectangle DrawEdge (System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.Edges edges, System.Windows.Forms.VisualStyles.EdgeStyle style, System.Windows.Forms.VisualStyles.EdgeEffects effects);
member this.DrawEdge : System.Drawing.IDeviceContext * System.Drawing.Rectangle * System.Windows.Forms.VisualStyles.Edges * System.Windows.Forms.VisualStyles.EdgeStyle * System.Windows.Forms.VisualStyles.EdgeEffects -> System.Drawing.Rectangle
Public Function DrawEdge (dc As IDeviceContext, bounds As Rectangle, edges As Edges, style As EdgeStyle, effects As EdgeEffects) As Rectangle

パラメーター

dc
IDeviceContext

端の描画に使用する IDeviceContext

bounds
Rectangle

描画する端を定義している境界を所有する Rectangle

edges
Edges

Edges 値のビットごとの組み合わせ。

style
EdgeStyle

EdgeStyle 値のビットごとの組み合わせ。

effects
EdgeEffects

EdgeEffects 値のビットごとの組み合わせ。

戻り値

Rectangle

bounds パラメーターから描画する端を差し引いた、内側の四角形を表す Rectangle

例外

dcnullです。

適用対象