Table of Contents

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

SHAPE
typeparam 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

owner IChartNode

Parent.

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

owner IChartNode

Parent.

shape SHAPE

Shape.

color1 Color

Color 1.

color2 Color

Color 2.

color3 Color

Color 3 (not used in all shapes).

borderColor Color

Border color.

width double

Width.

height double

Height.

borderWidth double

Border width.

angle double

Rotation angle in degrees.

bodyThickness double

Thickness of the shape.

gradientFill GradientFillPoint

Gradient fill type.

linearGradientDirection Direction

Linear gradient direction.

bitmapImage Image

Bitmap image.

Properties

Angle

Point rotation angle in degrees.

public double Angle { get; set; }

Property Value

double

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

bool

BitmapAlphaLevel

Bitmap alpha level.

public int BitmapAlphaLevel { get; set; }

Property Value

int

BitmapImage

Bitmap image, which is used when Shape is set to 'Bitmap'.

public Image BitmapImage { get; set; }

Property Value

Image

BitmapImageTintColor

Bitmap image tint color. Keep it White to display it normally.

public Color BitmapImageTintColor { get; set; }

Property Value

Color

BodyThickness

Body thickness. Applies to Cross and Flag and FlagLightning shapes.

public double BodyThickness { get; set; }

Property Value

double

BorderColor

Border color.

public Color BorderColor { get; set; }

Property Value

Color

BorderWidth

Border width.

public double BorderWidth { get; set; }

Property Value

double

Color1

Color 1.

public Color Color1 { get; set; }

Property Value

Color

Color2

Color 2.

public Color Color2 { get; set; }

Property Value

Color

Color3

Color 3. Not used in all shapes.

public Color Color3 { get; set; }

Property Value

Color

GradientFill

Gradient fill.

public GradientFillPoint GradientFill { get; set; }

Property Value

GradientFillPoint

Height

Height.

public double Height { get; set; }

Property Value

double

LinearGradientDirection

Gradient direction.

public Direction LinearGradientDirection { get; set; }

Property Value

Direction

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

bool

Width

Width.

public double Width { get; set; }

Property Value

double

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed, otherwise false.

ToString()

Convert class description to string.

public override string ToString()

Returns

string

String.