public CategoryLabelPosition(RectangleAnchor categoryAnchor, TextBlockAnchor labelAnchor, TextAnchor rotationAnchor, double angle, CategoryLabelWidthType widthType, float widthRatio)
 {
   base.\u002Ector();
   CategoryLabelPosition categoryLabelPosition = this;
   if (categoryAnchor == null)
   {
     string str = "Null 'categoryAnchor' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else if (labelAnchor == null)
   {
     string str = "Null 'labelAnchor' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else if (rotationAnchor == null)
   {
     string str = "Null 'rotationAnchor' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else if (widthType == null)
   {
     string str = "Null 'widthType' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else
   {
     this.categoryAnchor = categoryAnchor;
     this.labelAnchor = labelAnchor;
     this.rotationAnchor = rotationAnchor;
     this.angle = angle;
     this.widthType = widthType;
     this.widthRatio = widthRatio;
   }
 }
 public CategoryLabelPosition(RectangleAnchor categoryAnchor, TextBlockAnchor labelAnchor, CategoryLabelWidthType widthType, float widthRatio)
   : this(categoryAnchor, labelAnchor, TextAnchor.__\u003C\u003ECENTER, 0.0, widthType, widthRatio)
 {
 }