ActivityDesignerPaint.Draw3DButton Metoda

Definice

Nakreslí 3rozměrné tlačítko na ploše návrháře aktivit.

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)

Parametry

graphics
Graphics

Na Graphics kterém chcete nakreslit třírozměrné tlačítko.

image
Image

Na Image tlačítko se nakreslete.

bounds
Rectangle

Ten Rectangle definuje hranice tlačítka.

transparency
Single

Jednopřesné číslo s plovoucí desetinou čárkou určující úroveň průhlednosti tlačítka.

buttonState
ButtonState

Hodnota ButtonState výčtu, která určuje vzhled tlačítka.

Výjimky

graphicsobsahuje nulový odkaz (Nothing v Visual Basic).

Platí pro