ActivityDesignerPaint.Draw3DButton Metod

Definition

Ritar en tredimensionell knapp på aktivitetsdesignerns yta.

public:
 static void Draw3DButton(System::Drawing::Graphics ^ graphics, System::Drawing::Image ^ image, System::Drawing::Rectangle bounds, float transparency, System::Windows::Forms::ButtonState buttonState);
public static void Draw3DButton(System.Drawing.Graphics graphics, System.Drawing.Image image, System.Drawing.Rectangle bounds, float transparency, System.Windows.Forms.ButtonState buttonState);
static member Draw3DButton : System.Drawing.Graphics * System.Drawing.Image * System.Drawing.Rectangle * single * System.Windows.Forms.ButtonState -> unit
Public Shared Sub Draw3DButton (graphics As Graphics, image As Image, bounds As Rectangle, transparency As Single, buttonState As ButtonState)

Parametrar

graphics
Graphics

Den Graphics som du vill rita den tredimensionella knappen på.

image
Image

Att Image rita på knappen.

bounds
Rectangle

Det Rectangle som definierar knappens gränser.

transparency
Single

Flyttalsnumret med enkel precision för att ange knappens transparensnivå.

buttonState
ButtonState

Uppräkningsvärdet ButtonState för att ange knappens utseende.

Undantag

graphics innehåller en nullreferens (Nothing i Visual Basic).

Gäller för