VisualStyleRenderer.DrawEdge 메서드

정의

지정된 경계 사각형의 하나 이상의 가장자리를 그립니다.

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입니다.

예외

dc이(가) null인 경우

적용 대상