Udostępnij za pośrednictwem


ActivityDesignerPaint.Draw3DButton Metoda

Definicja

Rysuje 3-wymiarowy przycisk na powierzchni projektanta działań.

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 którym ma być narysowy przycisk 3-wymiarowy.

image
Image

Element Image do rysowania na przycisku.

bounds
Rectangle

Element Rectangle definiujący granice przycisku.

transparency
Single

Liczba zmiennoprzecinkowa o pojedynczej precyzji określająca poziom przezroczystości przycisku.

buttonState
ButtonState

Wartość ButtonState wyliczenia określająca wygląd przycisku.

Wyjątki

graphicszawiera odwołanie o wartości null (Nothing w Visual Basic).

Dotyczy