public final function containsSize( $widthOrSize, int $height = null ) : bool
   {

      $width = $widthOrSize;

      if ( $width instanceof Size )
      {
         $height = $width->height;
         $width  = $width->width;
      }
      else if ( \is_integer( $widthOrSize ) )
      {
         $width = $widthOrSize;
      }
      else if ( TypeTool::IsInteger( $widthOrSize ) )
      {
         $width = \intval( $widthOrSize );
      }
      else
      {
         $width = 0;
      }

      if ( ! \is_int( $height ) )
      {
         $height = \intval( $height );
      }

      return
         $this->size->width  >= $width
         &&
         $this->size->height >= $height;

   }