VectSharp 2.6.1
A light library for C# vector graphics
All Classes Namespaces Functions Variables Enumerations Properties Events Pages
VectSharp.Plots.PlotElementPresentationAttributes Class Reference

Determines the appearance of plot elements. More...

Public Member Functions

 PlotElementPresentationAttributes ()
 Create a new PlotElementPresentationAttributes with the default values. More...
 
 PlotElementPresentationAttributes (PlotElementPresentationAttributes other)
 Creates a new PlotElementPresentationAttributes copying all settings from another instance. More...
 

Properties

Brush Stroke = Colours.Black [get, set]
 The stroke of the plot element. More...
 
Brush Fill = Colours.Black [get, set]
 The fill of the plot element. More...
 
double LineWidth = 1 [get, set]
 The thickness of lines in the plot element. More...
 
LineDashLineDash = null [get, set]
 The line dash style for the plot element. More...
 
LineCaps LineCap = LineCaps.Square [get, set]
 The line cap for the plot element. More...
 
LineJoins LineJoin = LineJoins.Miter [get, set]
 The line join for the plot element. More...
 
Font Font = new Font(FontFamily.ResolveFontFamily(FontFamily.StandardFontFamilies.Helvetica), 12) [get, set]
 The font used to draw text in the plot element. More...
 

Detailed Description

Determines the appearance of plot elements.

Definition at line 27 of file Plot.cs.

Constructor & Destructor Documentation

◆ PlotElementPresentationAttributes() [1/2]

VectSharp.Plots.PlotElementPresentationAttributes.PlotElementPresentationAttributes ( )

Create a new PlotElementPresentationAttributes with the default values.

Definition at line 67 of file Plot.cs.

◆ PlotElementPresentationAttributes() [2/2]

VectSharp.Plots.PlotElementPresentationAttributes.PlotElementPresentationAttributes ( PlotElementPresentationAttributes  other)

Creates a new PlotElementPresentationAttributes copying all settings from another instance.

Parameters
otherThe other instance from which the settings will be copied.

Definition at line 76 of file Plot.cs.

Property Documentation

◆ Fill

Brush VectSharp.Plots.PlotElementPresentationAttributes.Fill = Colours.Black
getset

The fill of the plot element.

Definition at line 37 of file Plot.cs.

◆ Font

Font VectSharp.Plots.PlotElementPresentationAttributes.Font = new Font(FontFamily.ResolveFontFamily(FontFamily.StandardFontFamilies.Helvetica), 12)
getset

The font used to draw text in the plot element.

Definition at line 62 of file Plot.cs.

◆ LineCap

LineCaps VectSharp.Plots.PlotElementPresentationAttributes.LineCap = LineCaps.Square
getset

The line cap for the plot element.

Definition at line 52 of file Plot.cs.

◆ LineDash

LineDash? VectSharp.Plots.PlotElementPresentationAttributes.LineDash = null
getset

The line dash style for the plot element.

Definition at line 47 of file Plot.cs.

◆ LineJoin

LineJoins VectSharp.Plots.PlotElementPresentationAttributes.LineJoin = LineJoins.Miter
getset

The line join for the plot element.

Definition at line 57 of file Plot.cs.

◆ LineWidth

double VectSharp.Plots.PlotElementPresentationAttributes.LineWidth = 1
getset

The thickness of lines in the plot element.

Definition at line 42 of file Plot.cs.

◆ Stroke

Brush VectSharp.Plots.PlotElementPresentationAttributes.Stroke = Colours.Black
getset

The stroke of the plot element.

Definition at line 32 of file Plot.cs.


The documentation for this class was generated from the following file: