Struct ClipArea
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Clip area. Prevents owner series data from rendering in Begin...End range.
public struct ClipArea
- Inherited Members
Constructors
ClipArea(double, double, ClipDirection)
Constructor.
public ClipArea(double begin, double end, ClipDirection clipDirection)
Parameters
begindoubleBegin value. Start clipping from here.
enddoubleEnd value. End clipping here.
clipDirectionClipDirectionClip direction, X or Y.
ClipArea(double, double, ClipDirection, object)
Constructor.
public ClipArea(double begin, double end, ClipDirection clipDirection, object tag)
Parameters
begindoubleBegin value. Start clipping from here.
enddoubleEnd value. End clipping here.
clipDirectionClipDirectionClip direction, X or Y.
tagobjectTag, freely assignable object.
ClipArea(double, double, int, ClipDirection)
Constructor.
public ClipArea(double begin, double end, int marginPixels, ClipDirection clipDirection)
Parameters
begindoubleBegin value. Start clipping from here.
enddoubleEnd value. End clipping here.
marginPixelsintMargin pixels. Set positive to clip more, negative to clip less.
clipDirectionClipDirectionClip direction, X or Y.
ClipArea(double, double, int, ClipDirection, object)
Constructor.
public ClipArea(double begin, double end, int marginPixels, ClipDirection clipDirection, object tag)
Parameters
begindoubleBegin value. Start clipping from here.
enddoubleEnd value. End clipping here.
marginPixelsintMargin pixels. Set positive to clip more, negative to clip less.
clipDirectionClipDirectionClip direction, X or Y.
tagobjectTag, freely assignable object.
Fields
MarginPixels
Amount of pixels to clip more from positions calculated from Begin and End values. 0: Don't clip more or less. Positive: Clip more, the clipped area is this many pixels wider from both left and right (or top and bottom). Negative: Clip less, the clipped area is this many pixels narrower from both left and right (or top and bottom).
public int MarginPixels
Field Value
Tag
Tag. Freely assignable object.
public object Tag
Field Value
Properties
Begin
Begin value. Start clipping from here.
public double Begin { get; set; }
Property Value
ClipDirection
Clip direction, X or Y.
public ClipDirection ClipDirection { get; set; }
Property Value
End
End value. End clipping here.
public double End { get; set; }
Property Value
Methods
ToString()
Convert class description to string.
public override string ToString()
Returns
- string
Class description as a string.