scaled method

  1. @override
GLine scaled(
  1. double scale
)
override

Scaled version of this GShape.

Implementation

@override
GLine scaled(double scale) => GLine(
    x1.scaled(scale), y1.scaled(scale), x2.scaled(scale), y2.scaled(scale),
    size: size.scaled(scale), color: color);