Соединение линией: цвет и толщина линии, соединённые фигуры двигаются по отдельности
This commit is contained in:
parent
16aeb302d2
commit
eb9562c08b
1 changed files with 151 additions and 49 deletions
|
|
@ -21,6 +21,8 @@ protected:
|
|||
TColor fillColor; // цвет заливки
|
||||
TColor lineColor; // цвет обводки
|
||||
int grp; // группа (0 - без группы)
|
||||
TColor linkColor; // цвет линии соединения
|
||||
int linkWidth; // толщина линии соединения
|
||||
|
||||
void SetupCanvas(TCanvas *c);
|
||||
void PaintNumber(TCanvas *c);
|
||||
|
|
@ -49,6 +51,10 @@ public:
|
|||
void SetLine(TColor c);
|
||||
int GetGroup();
|
||||
void SetGroup(int g);
|
||||
TColor GetLinkColor();
|
||||
int GetLinkWidth();
|
||||
void SetLinkColor(TColor c);
|
||||
void SetLinkWidth(int w);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue