RenderOptionsCommonLineOffset Property |
LightningChart .NET Help
Debug Line offset of the DX11 line drawing.
LightningChart internally uses coordinate system where the coordinate
points to the center of the pixel. Meaning that screen coordinate (0,0)
is at the center of the top-left pixel. In DX9 this is the same. In DX11
the point (0,0) is at the top-left corner of the top-left pixel, and the
center of the pixel is at point (0.5, 0.5).
The points are moved by this offset in DX11 engine, so that the chart can
use the same coordinate system with all engines. The default value of
(0.5, 0.5) is the "correct" one, but it can be modified by this property.
Namespace:
Arction.Wpf.Charting.Views
Assembly:
Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic PointDouble LineOffset { get; set; }Public Property LineOffset As PointDouble
Get
Set
public:
property PointDouble LineOffset {
PointDouble get ();
void set (PointDouble value);
}Property Value
Type:
PointDouble
See Also