VisualStyleRenderer.DrawEdge Metoda

Definice

Nakreslí jeden nebo více okrajů zadaného ohraničujícího obdélníku.

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

Parametry

dc
IDeviceContext

Používá IDeviceContext se k kreslení okrajů.

bounds
Rectangle

Jejíž Rectangle hranice definují okraje, které se mají kreslit.

edges
Edges

Bitové kombinace Edges hodnot.

style
EdgeStyle

Bitové kombinace EdgeStyle hodnot.

effects
EdgeEffects

Bitové kombinace EdgeEffects hodnot.

Návraty

Rectangle

A Rectangle , který představuje interiér parametru bounds , minus okraje, které byly nakresleny.

Výjimky

dc je null.

Platí pro