xtd 0.2.0
Loading...
Searching...
No Matches

◆ create() [11/24]

static seven_segment_display xtd::forms::seven_segment_display::create ( xtd::forms::segments  segments,
bool  show_back_segment,
const drawing::point location,
const drawing::size size 
)
static

A factory to create an xtd::forms::seven_segment_display with specified segments, back_segment visibility, location, and size.

Parameters
segmentsA dots_collection that represent all dots status.
show_back_segmenttrue if background segments are shown; otherwise false
locationA xtd::drawing::point that represent location of the xtd::forms::seven_segment_display.
sizeA xtd::drawing::size that represent size of the xtd::forms::seven_segment_display.
Returns
New xtd::forms::seven_segment_display created.