Class OverlayElementTextStyle
- Namespace
- LightningChartLib.WinForms.Charting.Titles
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Overlay elements title style
[TypeConverter(typeof(ExpandableObjectConverter))]
public class OverlayElementTextStyle : TitleBase, IChartNode, IDisposable, IHighlightingItem
- Inheritance
-
OverlayElementTextStyle
- Implements
- Inherited Members
Constructors
OverlayElementTextStyle()
Constructor, for serialization purposes
public OverlayElementTextStyle()
OverlayElementTextStyle(IChartNode)
Constructor
public OverlayElementTextStyle(IChartNode owner)
Parameters
ownerIChartNodeparam owner M:LightningChartLib.WinForms.Charting.Titles.OverlayElementTextStyle.#ctor(LightningChartLib.WinForms.Charting.IChartNode)
Properties
CutOnEdges
Is the text clipped on element edges
public bool CutOnEdges { get; set; }
Property Value
Remarks
Clipping works only if element rotate angle is divisible with 90
Distance
Text distance from element edge, if aligned to edge
public int Distance { get; set; }
Property Value
HorizAlign
Horizontal alignment
public AlignmentHorizontal HorizAlign { get; set; }
Property Value
Offset
Text shift from it's align origin
public PointIntXY Offset { get; set; }
Property Value
VerticalAlign
Vertical alignment
public AlignmentVertical VerticalAlign { get; set; }
Property Value
Methods
CreateFont()
Create font.
protected override void CreateFont()
CreateShadow()
Create shadow.
protected override void CreateShadow()
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.