Size2D constructor

Size2D(
  1. double width,
  2. double height
)

Creates a new instance.

  • width The width represents the size along the X axis. Default is 0.0.
  • height The height represents the size along the Y axis. Default is 0.0.

Implementation

Size2D(this.width, this.height);