Table of Contents

Property Rotation

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Rotation

Gets or sets the angle of the bottom of the image in the world's plane xy, as AutoCAD 2021's Rotation: from the x axis, counter-clockwise, from 0 to 2 pi, of the vector of one pixel across seen from above; 0 for an image placed along x, pi for one mirrored about the y axis.

public double Rotation { get; set; }

Property Value

double

Set, as AutoCAD 2021 sets it: the vector of one pixel across turned to the angle in the plane xy and the one up a quarter turn on from it, each of its length, about the corner the image is placed at; an image standing in another plane is laid in the plane xy through that corner, and a mirrored or sheared one made square, as AutoCAD lays it. The angle it has, to the bit, changes nothing.

Exceptions

ArgumentOutOfRangeException

Thrown when the angle set is not a finite number.

InvalidOperationException

Thrown when the image is erased.