shape method

Area shape(
  1. String shape, {
  2. bool? removeIf,
})

The shape of the associated hot spot. Read more...

Implementation

Area shape(String shape, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('shape', shape);
    node.attrs!.add(attr);
  }
  return this;
}