setStyleFromVMobjectStyle method

void setStyleFromVMobjectStyle(
  1. VMobjectStyle style, {
  2. bool family = true,
})

Implementation

void setStyleFromVMobjectStyle(VMobjectStyle style, {bool family = true}) {
  return setStyle(
      fillColors: style.fillColors,
      strokeColors: style.strokeColors,
      strokeWidth: style.strokeWidth,
      backgroundStrokeColors: style.backgroundStrokeColors,
      backgroundStrokeWidth: style.backgroundStrokeWidth,
      family: family);
}