Vuo
2.1.2
base
VuoComment.cc
Go to the documentation of this file.
1
10
#include "
VuoComment.hh
"
11
13
const
string
VuoComment::commentTypeName
=
"vuo.comment"
;
14
18
VuoComment::VuoComment
(
string
content,
int
x,
int
y,
int
width,
int
height,
VuoNode::TintColor
tintColor)
19
:
VuoBase
<
VuoCompilerComment
,
VuoRendererComment
>(
"VuoComment"
)
20
{
21
this->content = content;
22
this->x = x;
23
this->y = y;
24
this->width = width;
25
this->height = height;
26
this->tintColor = tintColor;
27
}
28
32
string
VuoComment::getContent
(
void
)
33
{
34
return
content;
35
}
36
40
void
VuoComment::setContent
(
string
content)
41
{
42
this->content = content;
43
}
44
48
int
VuoComment::getX
(
void
)
49
{
50
return
x;
51
}
52
56
void
VuoComment::setX
(
int
x)
57
{
58
this->x = x;
59
}
60
64
int
VuoComment::getY
(
void
)
65
{
66
return
y;
67
}
68
72
void
VuoComment::setY
(
int
y)
73
{
74
this->y = y;
75
}
76
80
int
VuoComment::getWidth
(
void
)
81
{
82
return
width;
83
}
84
88
void
VuoComment::setWidth
(
int
width)
89
{
90
this->width = width;
91
}
92
96
int
VuoComment::getHeight
(
void
)
97
{
98
return
height;
99
}
100
104
void
VuoComment::setHeight
(
int
height)
105
{
106
this->height = height;
107
}
108
112
enum
VuoNode::TintColor
VuoComment::getTintColor
(
void
)
113
{
114
return
tintColor;
115
}
116
120
string
VuoComment::getTintColorGraphvizName
(
void
)
121
{
122
return
VuoNode::getGraphvizNameForTint
(tintColor);
123
}
124
128
void
VuoComment::setTintColor
(
enum
VuoNode::TintColor
tintColor)
129
{
130
this->tintColor = tintColor;
131
}
Generated on Tue Jul 14 2020 23:19:27 for Vuo by
1.8.18