Table of Contents

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

x double

x-position.

y double

y-position.

width double

Width of image in x-position units.

height double

Height of image in y-position units.

image Image

Image.

Fields

Image

Image. Note! This reference will be obsolete (nulled) after image is converted to chart internal format.

public Image Image

Field Value

Image

PositionX

The horizontal position of Image center as x-axis value.

public double PositionX

Field Value

double

PositionY

The vertical position of Image center as y-axis value.

public double PositionY

Field Value

double

SizeX

Image size in x-axis units.

public double SizeX

Field Value

double

SizeY

Image size in y-axis units.

public double SizeY

Field Value

double