class QPanda::DRAW_TEXT_PIC::Wire

Overview

the wire of text-picture More...

Detailed Documentation

the wire of text-picture

Construction

Constructor of DrawBox.

Methods

set the name of wire

Parameters:

std::string& name
size_t name length

append a box to current wire

Parameters:

DrawBox& box
int append postion

Returns:

int the length of current wire

get the length of current wire

Returns:

int the length of current wire

conver current wire to string and save to file

Returns:

std::string

update current wire length

Parameters:

int the new length

set whether to merge wire

Parameters:

bool  

get top line string

Returns:

std::string

get middle line string

Returns:

std::string

get bottom line string

Returns:

std::string

update current wire time sequence

Parameters:

int the increased time sequence

get current wire time sequence

Returns:

int