Constructor CadFrame
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadFrame(double, double, double, double, double)
Makes a frame.
public CadFrame(double x, double y, double width, double height, double rotation)
Parameters
xdoubleThe X of the first corner.
ydoubleThe Y of the first corner.
widthdoubleThe width, along the angle, above nought.
heightdoubleThe height, across it, above nought.
rotationdoubleThe angle the width runs at, counter-clockwise from the X axis, in radians.
Exceptions
- ArgumentException
Thrown when a number is not finite or the width or the height is not above nought.