protected internal Arc( Point?centerPoint, Point?startPoint, Point?controlPoint, Point?endPoint, Scalar?sweepAngle, Scalar?startAngle, Scalar?endAngle, Scalar?radius, Scalar?diameter, Scalar?cordLength, StrokeAttributes stroke, FillStyle fill) : base( stroke, fill) { CenterPoint = centerPoint; StartPoint = startPoint; ControlPoint = controlPoint; EndPoint = endPoint; SweepAngle = sweepAngle; StartAngle = startAngle; EndAngle = endAngle; Radius = radius; Diameter = diameter; CordLength = cordLength; }
public Polyline( List <Point> points, StrokeAttributes stroke, FillStyle fill) : base( stroke, fill) { Points = points ?? throw new ArgumentNullException(nameof(points)); }
public Path( List <PathSegment> pathSegments, StrokeAttributes stroke, FillStyle fill) : base( stroke, fill) { PathSegments = pathSegments ?? throw new ArgumentNullException(nameof(pathSegments)); }
public Line( Point?start, Scalar?length, Scalar?angle, Point?end, StrokeAttributes stroke, FillStyle fill) : base( stroke, fill) { StartPoint = start; Length = length; RotationAngle = angle; EndPoint = end; }
public Polygon( Point?centerPoint, Scalar?rotationAngle, int?sideCount, Point[] points, StrokeAttributes stroke, FillStyle fill) : base( stroke, fill) { CenterPoint = centerPoint; RotationAngle = rotationAngle; SideCount = sideCount; Points = points; }
public Rectangle( Point?centerPoint, Point?startCorner, Point?endCorner, Scalar?width, Scalar?height, Scalar?area, Scalar?rotation, StrokeAttributes stroke, FillStyle fill) : base( stroke, fill) { CenterPoint = centerPoint; StartCorner = startCorner; EndCorner = endCorner; Width = width; Height = height; Area = area; Rotation = rotation; }
public Ellipse( Point?majorAxisStartPoint, Point?majorAxisEndPoint, Point?minorAxisPoint, Point?center, Size?radius, Scalar?circleRadius, double?excentricity, Scalar?rotation, StrokeAttributes stroke, FillStyle fill) : base( stroke, fill) { MajorAxisStartPoint = majorAxisStartPoint; MajorAxisEndPoint = majorAxisEndPoint; MinorAxisPoint = minorAxisPoint; Center = center; Radius = radius; CircleRadius = circleRadius; Excentricity = excentricity; Rotation = rotation; }
protected internal Shape(StrokeAttributes stroke, FillStyle fill) { Stroke = stroke; Fill = fill ?? throw new ArgumentNullException(nameof(fill)); }