Provides data for the xtd::forms::control::paint event.
- Header
#include <xtd/forms/paint_event_args>
- Namespace
- xtd::forms
- Library
- xtd.forms
- Examples:
- animation.cpp, button_renderer.cpp, check_box_renderer.cpp, circular_form.cpp, color_picker.cpp, draw_ellipse.cpp, draw_image.cpp, draw_line.cpp, draw_point.cpp, draw_rectangle.cpp, draw_rounded_rectangle.cpp, fill_ellipse.cpp, fill_rectangle.cpp, fill_rounded_rectangle.cpp, form_paint.cpp, hello_world_paint.cpp, minesweeper.cpp, owner_button.cpp, painting.cpp, radio_button_renderer.cpp, toggle_light.cpp, user_control.cpp, wiggly.cpp, and wnd_proc.cpp.
◆ paint_event_args() [1/2]
Initializes a new instance of the paint_event_args class with the specified control, clipping rectangle.
- Parameters
-
◆ paint_event_args() [2/2]
Initializes a new instance of the paint_event_args class with the specified control, clipping rectangle.
- Parameters
-
◆ clip_rectangle()
◆ graphics()
Gets the graphics used to paint.
- Returns
- The xtd::drawing::graphics object used to paint. The xtd::drawing::graphics object provides methods for drawing objects on the display device.
- Examples:
- animation.cpp, button_renderer.cpp, check_box_renderer.cpp, draw_ellipse.cpp, draw_image.cpp, draw_line.cpp, draw_point.cpp, draw_rectangle.cpp, draw_rounded_rectangle.cpp, fill_ellipse.cpp, fill_rectangle.cpp, fill_rounded_rectangle.cpp, minesweeper.cpp, owner_button.cpp, radio_button_renderer.cpp, toggle_light.cpp, user_control.cpp, wiggly.cpp, and wnd_proc.cpp.
The documentation for this class was generated from the following file: