Constructor DisplayImage2
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
DisplayImage2(double, double, double, double, double, double, IReadOnlyList<double[]>, bool, string, string, DisplayStyle, string, string)
Makes the picture of an image.
public DisplayImage2(double x, double y, double ux, double uy, double vx, double vy, IReadOnlyList<double[]> clip, bool clipInverted, string filePath, string fileName, DisplayStyle style, string handle, string layer)
Parameters
xdoubleThe X of the corner the picture's lower left pixel sits at.
ydoubleThe Y of that corner.
uxdoubleThe X of the side along the picture's width, the whole of it.
uydoubleThe Y of that side.
vxdoubleThe X of the side up the picture's height, the whole of it.
vydoubleThe Y of that side.
clipIReadOnlyList<double[]>The rings it is clipped by, each as X and Y in turn; null where it shows the whole picture.
clipInvertedboolWhether it shows what lies outside the rings rather than inside.
filePathstringThe full path of the picture file found; null where none was found or it is unloaded.
fileNamestringThe path the drawing names the picture by, shown in the frame of one not found.
styleDisplayStyleHow its frame is drawn.
handlestringThe handle of the entity.
layerstringThe layer.