42 $all = array(
"ne",
"nw",
"se",
"sw");
43 if(in_array((
string)$a_position, $all))
45 $this->position = (string)$a_position;
66 $this->columns = (int)$a_value;
87 $this->margin_x = (int)$a_x;
88 $this->margin_y = (int)$a_y;
98 return array(
"x"=>$this->margin_x,
"y"=>$this->margin_y);
110 $this->background = $a_color;
131 $a_value = (float)$a_value;
132 if($a_value >= 0 && $a_value <= 1)
134 $this->opacity = $a_value;
157 $this->border = $a_color;
178 $this->container = trim($a_value);
198 $a_options->show =
true;
204 $a_options->margin = array($margin[
"x"], $margin[
"y"]);
207 $a_options->backgroundOpacity = str_replace(
",",
".",$this->
getOpacity());
213 $a_options->container =
'#'.$container;