Class LayerImageData
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Image data container for ImageLayer. Includes position, size and image. Position and size must be on same units, e.g. mm.
public class LayerImageData
- Inheritance
-
LayerImageData
- Inherited Members
Constructors
LayerImageData()
Constructor. Creates empty image container.
public LayerImageData()
LayerImageData(double, double, double, double, Image)
Constructor. Creates image container with given data.
public LayerImageData(double x, double y, double width, double height, Image image)
Parameters
xdoublex-position.
ydoubley-position.
widthdoubleWidth of image in x-position units.
heightdoubleHeight of image in y-position units.
imageImageImage.
Fields
Image
Image. Note! This reference will be obsolete (nulled) after image is converted to chart internal format.
public Image Image
Field Value
PositionX
The horizontal position of Image center as x-axis value.
public double PositionX
Field Value
PositionY
The vertical position of Image center as y-axis value.
public double PositionY
Field Value
SizeX
Image size in x-axis units.
public double SizeX
Field Value
SizeY
Image size in y-axis units.
public double SizeY