MaxstARSDK  3.5.0
Dimensions.cs
1 /*==============================================================================
2 Copyright 2017 Maxst, Inc. All Rights Reserved.
3 ==============================================================================*/
4 
5 using System;
6 using System.Collections.Generic;
7 using System.Linq;
8 using System.Text;
9 using System.IO;
10 
11 namespace maxstAR
12 {
13  internal class Dimensions
14  {
15  private readonly int width;
16  private readonly int height;
17  public Dimensions(int width, int height)
18  {
19  this.width = width;
20  this.height = height;
21  }
22  public int Width
23  {
24  get { return width; }
25  }
26  public int Height
27  {
28  get { return height; }
29  }
30  public override string ToString()
31  {
32  return string.Format("width:{0}, height:{1}", Width, Height);
33  }
34 
35  }
36 }