Example #1
0
 /// <summary>
 /// Create a new ellipse.
 /// </summary>
 /// <param name="center">The center of the ellipse.</param>
 /// <param name="majorAxis">The semi-major axis of the ellipse.</param>
 /// <param name="minorAxisRatio">The ratio of the length of the minor axis to the major axis.</param>
 /// <param name="startAngle">The start angle of the ellipse in radians.</param>
 /// <param name="endAngle">The end angle of the ellipse in radians.</param>
 public DwgEllipse(DwgPoint center, DwgVector majorAxis, double minorAxisRatio, double startAngle, double endAngle)
     : this()
 {
     Center         = center;
     MajorAxis      = majorAxis;
     MinorAxisRatio = minorAxisRatio;
     StartAngle     = startAngle;
     EndAngle       = endAngle;
 }
Example #2
0
 public DwgLineTypeDashInfo(double dashLength, short shapeCode, DwgVector offset, double scale, double rotation, short shapeFlag)
 {
     DashLength = dashLength;
     ShapeCode  = shapeCode;
     Offset     = offset;
     Scale      = scale;
     Rotation   = rotation;
     ShapeFlag  = shapeFlag;
 }