SizeF2D.ts 267 B

123456789101112
  1. /**
  2. * Represent the size of a 2D object, with (width, height)
  3. */
  4. export class SizeF2D {
  5. public width: number;
  6. public height: number;
  7. constructor(width: number = 0, height: number = 0) {
  8. this.width = width;
  9. this.height = height;
  10. }
  11. }