PRectangle.fromDimension constructor

PRectangle.fromDimension(
  1. num x,
  2. num y,
  3. PDimension dimension
)

Implementation

PRectangle.fromDimension(num x, num y, PDimension dimension)
    : this(x, y, dimension.width, dimension.height);