示例#1
0
 public HotSpot(double x, double y, XYUnitType xu, XYUnitType yu)
 {
     X      = x;
     Y      = y;
     XUnits = xu;
     YUnits = yu;
 }
 private string ConvertXYUnits(XYUnitType? xyu)
 {
     switch (xyu)
     {
         case XYUnitType.InsetPixels:
             return "insetPixels";
         case XYUnitType.Pixels:
             return "pixels";
         case XYUnitType.Fraction:
         default:
             return "fraction";
     }
 }
 public HotSpot(double x, double y, XYUnitType xu, XYUnitType yu)
 {
     X = x;
     Y = y;
     xUnits = xu;
     yUnits = yu;
 }