Returns options for bounding box
(&self)
| 249 | |
| 250 | /// Returns options for bounding box |
| 251 | fn options_bbox(&self) -> String { |
| 252 | let mut opt = String::new(); |
| 253 | if self.bbox_facecolor != "" { |
| 254 | write!(&mut opt, "facecolor='{}',", self.bbox_facecolor).unwrap(); |
| 255 | } |
| 256 | if self.bbox_edgecolor != "" { |
| 257 | write!(&mut opt, "edgecolor='{}',", self.bbox_edgecolor).unwrap(); |
| 258 | } |
| 259 | write!(&mut opt, "alpha={},", self.bbox_alpha).unwrap(); |
| 260 | if self.bbox_style != "" { |
| 261 | write!(&mut opt, "boxstyle='{}',", self.bbox_style).unwrap(); |
| 262 | } |
| 263 | opt |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | impl GraphMaker for Text { |
no outgoing calls