xtd 0.2.0
Loading...
Searching...
No Matches
xtd::forms::box_renderer Class Reference
Inheritance diagram for xtd::forms::box_renderer:
xtd::static_object

Definition

Provides methods used to render a box with or without style sheets.

Provides methods used to render a box with or without style sheets.
Definition box_renderer.h:26
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:37
#define forms_export_
Define shared library export.
Definition forms_export.h:13
Inheritance
xtd::static → xtd::forms::box_renderer
Header
#include <xtd/forms/box_renderer>
Namespace
xtd::forms
Library
xtd.forms

Public Static Methods

static void draw_box (xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, const xtd::forms::style_sheets::ibox_model &box_model)
 Draws a box in the specified bounds and style.
 

Member Function Documentation

◆ draw_box()

static void xtd::forms::box_renderer::draw_box ( xtd::drawing::graphics graphics,
const xtd::drawing::rectangle bounds,
const xtd::forms::style_sheets::ibox_model box_model 
)
static

Draws a box in the specified bounds and style.

Parameters
graphicsThe Graphics used to draw a box.
boundsThe xtd::drawing::rectangle that specifies the bounds of the box.
box_modelThe xtd::forms::style_sheets::ibox_model that specifies the style for the box.

The documentation for this class was generated from the following file: