コード例 #1
0
 public GaugeLabel()
 {
     this.location = new GaugeLocation(this, 26f, 47f);
     this.size     = new GaugeSize(this, 12f, 6f);
     this.location.DefaultValues = true;
     this.size.DefaultValues     = true;
 }
コード例 #2
0
 public GaugeImage()
 {
     this.location = new GaugeLocation(this, 26f, 47f);
     this.size     = new GaugeSize(this, 15f, 15f);
     this.location.DefaultValues = true;
     this.size.DefaultValues     = true;
 }
コード例 #3
0
 protected GaugeBase()
 {
     this.location = new GaugeLocation(this, 0f, 0f);
     this.size     = new GaugeSize(this, 100f, 100f);
     this.location.DefaultValues = true;
     this.size.DefaultValues     = true;
 }
コード例 #4
0
 public Position(GaugeLocation location, GaugeSize size, ContentAlignment locationAlignment)
 {
     this.location          = location;
     this.size              = size;
     this.locationAlignment = locationAlignment;
 }