Returns options for quiver
(&self)
| 262 | |
| 263 | /// Returns options for quiver |
| 264 | fn options_quiver(&self) -> String { |
| 265 | let mut opt = String::new(); |
| 266 | if self.color != "" { |
| 267 | write!(&mut opt, ",color='{}'", self.color).unwrap(); |
| 268 | } |
| 269 | if self.quiver_scale > 0.0 { |
| 270 | write!(&mut opt, ",scale={}", self.quiver_scale).unwrap(); |
| 271 | } |
| 272 | if self.quiver_pivot != "" { |
| 273 | write!(&mut opt, ",pivot='{}'", self.quiver_pivot).unwrap(); |
| 274 | } |
| 275 | if self.quiver_zorder > 0 { |
| 276 | write!(&mut opt, ",zorder={}", self.quiver_zorder).unwrap(); |
| 277 | } |
| 278 | if self.quiver_extra != "" { |
| 279 | write!(&mut opt, ",{}", self.quiver_extra).unwrap(); |
| 280 | } |
| 281 | opt |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | impl GraphMaker for Stream { |
no outgoing calls
no test coverage detected