Table of Contents

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

x double

The X of the first corner.

y double

The Y of the first corner.

width double

The width, along the angle, above nought.

height double

The height, across it, above nought.

rotation double

The 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.