scaled method

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

Scaled version of this GShape.

Implementation

@override
GRectangle scaled(double scale) => GRectangle(x.scaled(scale),
    y.scaled(scale), width.scaled(scale), height.scaled(scale),
    strokeSize: strokeSize?.scaled(scale),
    color: color,
    backgroundColor: backgroundColor);