Class PointShapeStyleBase<SHAPE>
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Shape style.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PointShapeStyleBase<SHAPE> : ChartNode, IChartNode, IDisposable
Type Parameters
SHAPEtypeparam SHAPE T:LightningChartLib.WinForms.Charting.PointShapeStyleBase`1
- Inheritance
-
PointShapeStyleBase<SHAPE>
- Implements
- Derived
- Inherited Members
Constructors
PointShapeStyleBase()
Constructor for Form designer list editor
public PointShapeStyleBase()
PointShapeStyleBase(IChartNode)
Constructor.
public PointShapeStyleBase(IChartNode owner)
Parameters
ownerIChartNodeParent.
PointShapeStyleBase(IChartNode, SHAPE, Color, Color, Color, Color, double, double, double, double, double, GradientFillPoint, Direction, Image)
Constructor
public PointShapeStyleBase(IChartNode owner, SHAPE shape, Color color1, Color color2, Color color3, Color borderColor, double width, double height, double borderWidth, double angle, double bodyThickness, GradientFillPoint gradientFill, Direction linearGradientDirection, Image bitmapImage)
Parameters
ownerIChartNodeParent.
shapeSHAPEShape.
color1ColorColor 1.
color2ColorColor 2.
color3ColorColor 3 (not used in all shapes).
borderColorColorBorder color.
widthdoubleWidth.
heightdoubleHeight.
borderWidthdoubleBorder width.
angledoubleRotation angle in degrees.
bodyThicknessdoubleThickness of the shape.
gradientFillGradientFillPointGradient fill type.
linearGradientDirectionDirectionLinear gradient direction.
bitmapImageImageBitmap image.
Properties
Angle
Point rotation angle in degrees.
public double Angle { get; set; }
Property Value
Antialiasing
Anti-aliased point. Drawing anti-aliased draws the point with smooth edges, but will increase CPU/GPU overhead.
public bool Antialiasing { get; set; }
Property Value
BitmapAlphaLevel
Bitmap alpha level.
public int BitmapAlphaLevel { get; set; }
Property Value
BitmapImage
Bitmap image, which is used when Shape is set to 'Bitmap'.
public Image BitmapImage { get; set; }
Property Value
BitmapImageTintColor
Bitmap image tint color. Keep it White to display it normally.
public Color BitmapImageTintColor { get; set; }
Property Value
BodyThickness
Body thickness. Applies to Cross and Flag and FlagLightning shapes.
public double BodyThickness { get; set; }
Property Value
BorderColor
Border color.
public Color BorderColor { get; set; }
Property Value
BorderWidth
Border width.
public double BorderWidth { get; set; }
Property Value
Color1
Color 1.
public Color Color1 { get; set; }
Property Value
Color2
Color 2.
public Color Color2 { get; set; }
Property Value
Color3
Color 3. Not used in all shapes.
public Color Color3 { get; set; }
Property Value
GradientFill
Gradient fill.
public GradientFillPoint GradientFill { get; set; }
Property Value
Height
Height.
public double Height { get; set; }
Property Value
LinearGradientDirection
Gradient direction.
public Direction LinearGradientDirection { get; set; }
Property Value
Shape
Shape. Some fill options are not used on every shape kind.
public SHAPE Shape { get; set; }
Property Value
- SHAPE
UseImageSize
Sets Width and Height properties from bitmap image dimensions.
public bool UseImageSize { get; set; }
Property Value
Width
Width.
public double Width { get; set; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.
ToString()
Convert class description to string.
public override string ToString()
Returns
- string
String.