Table of Contents

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

x double

The X of the corner the picture's lower left pixel sits at.

y double

The Y of that corner.

ux double

The X of the side along the picture's width, the whole of it.

uy double

The Y of that side.

vx double

The X of the side up the picture's height, the whole of it.

vy double

The Y of that side.

clip IReadOnlyList<double[]>

The rings it is clipped by, each as X and Y in turn; null where it shows the whole picture.

clipInverted bool

Whether it shows what lies outside the rings rather than inside.

filePath string

The full path of the picture file found; null where none was found or it is unloaded.

fileName string

The path the drawing names the picture by, shown in the frame of one not found.

style DisplayStyle

How its frame is drawn.

handle string

The handle of the entity.

layer string

The layer.