VectSharp 2.5.0
A light library for C# vector graphics
Loading...
Searching...
No Matches
VectSharp.LineDash Struct Reference

Represents instructions on how to paint a dashed line. More...

Public Member Functions

 LineDash (double unitsOn, double unitsOff, double phase)
 Define a new line dash pattern. More...
 

Public Attributes

double UnitsOn
 Length of the "on" (painted) segment. More...
 
double UnitsOff
 Length of the "off" (not painted) segment. More...
 
double Phase
 Position in the dash pattern at which the line starts. More...
 

Static Public Attributes

static LineDash SolidLine = new LineDash(0, 0, 0)
 A solid (not dashed) line More...
 

Detailed Description

Represents instructions on how to paint a dashed line.

Definition at line 112 of file Enums.cs.

Constructor & Destructor Documentation

◆ LineDash()

VectSharp.LineDash.LineDash ( double  unitsOn,
double  unitsOff,
double  phase 
)

Define a new line dash pattern.

Parameters
unitsOnThe length of the "on" (painted) segment.
unitsOffThe length of the "off" (not painted) segment.
phaseThe position in the dash pattern at which the line starts.

Definition at line 140 of file Enums.cs.

Member Data Documentation

◆ Phase

double VectSharp.LineDash.Phase

Position in the dash pattern at which the line starts.

Definition at line 132 of file Enums.cs.

◆ SolidLine

LineDash VectSharp.LineDash.SolidLine = new LineDash(0, 0, 0)
static

A solid (not dashed) line

Definition at line 117 of file Enums.cs.

◆ UnitsOff

double VectSharp.LineDash.UnitsOff

Length of the "off" (not painted) segment.

Definition at line 127 of file Enums.cs.

◆ UnitsOn

double VectSharp.LineDash.UnitsOn

Length of the "on" (painted) segment.

Definition at line 122 of file Enums.cs.


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