-bool
-synfig::ValueNode_Stripes::set_color1(ValueNode::Handle a)
-{
- if(a->get_type()!=ValueBase::TYPE_COLOR)
- return false;
-
- color1_=a;
-
- return true;
-}
-
-bool
-synfig::ValueNode_Stripes::set_color2(ValueNode::Handle a)
-{
- if(a->get_type()!=ValueBase::TYPE_COLOR)
- return false;
-
- color2_=a;
-
- return true;
-}
-
-bool
-synfig::ValueNode_Stripes::set_width(ValueNode::Handle x)
-{
- if(x->get_type()!=ValueBase::TYPE_REAL)
- return false;
-
- width_=x;
-
- return true;
-}
-
-bool
-synfig::ValueNode_Stripes::set_stripes(ValueNode::Handle b)
-{
- if(b->get_type()!=ValueBase::TYPE_INTEGER)
- return false;
- stripes_=b;
- return true;
-}
-