VectSharp 2.6.1
A light library for C# vector graphics
Loading...
Searching...
No Matches
VectSharp.Markdown.LineEventArgs Class Reference

EventArgs for the MarkdownRenderer.LineRendering and MarkdownRenderer.LineRendered events. More...

Inheritance diagram for VectSharp.Markdown.LineEventArgs:

Public Member Functions

 LineEventArgs (MarkdownContext markdownContext, Graphics graphics, Line line, double pageMaxX, double pageMaxY, double contentMaxX, double contentMinY, double contentMaxY, double baseline)
 Create a new LineEventArgs More...
 

Properties

MarkdownContext MarkdownContext [get, set]
 The current VectSharp.Markdown.MarkdownContext. More...
 
Graphics Graphics [get, set]
 The current VectSharp.Graphics surface. More...
 
Line Line [get]
 The line that will be rendered. More...
 
double PageMaxX [get]
 The maximum space available for the line on the x axis. More...
 
double PageMaxY [get]
 The maximum space available for the line on the y axis. More...
 
double ContentMaxX [get]
 The maximum x coordinate of the content in the line. More...
 
double ContentMinY [get]
 The minimum y coordinate of the content in the line. More...
 
double ContentMaxY [get]
 The maximum y coordinate of the content in the line. More...
 
double Baseline [get]
 The vertical coordinate of the baseline. More...
 

Detailed Description

EventArgs for the MarkdownRenderer.LineRendering and MarkdownRenderer.LineRendered events.

Definition at line 517 of file MarkdownRenderer.Events.cs.

Constructor & Destructor Documentation

◆ LineEventArgs()

VectSharp.Markdown.LineEventArgs.LineEventArgs ( MarkdownContext  markdownContext,
Graphics  graphics,
Line  line,
double  pageMaxX,
double  pageMaxY,
double  contentMaxX,
double  contentMinY,
double  contentMaxY,
double  baseline 
)

Create a new LineEventArgs

Parameters
markdownContextThe current VectSharp.Markdown.MarkdownContext.
graphicsThe current VectSharp.Graphics surface.
lineThe line that will be rendered.
pageMaxXThe maximum space available for the line on the x axis.
pageMaxYThe maximum space available for the line on the y axis.
contentMaxXThe maximum x coordinate of the content in the line.
contentMinYThe minimum y coordinate of the content in the line.
contentMaxYThe maximum y coordinate of the content in the line.
baselineThe vertical coordinate of the baseline.

Definition at line 576 of file MarkdownRenderer.Events.cs.

Property Documentation

◆ Baseline

double VectSharp.Markdown.LineEventArgs.Baseline
get

The vertical coordinate of the baseline.

Definition at line 562 of file MarkdownRenderer.Events.cs.

◆ ContentMaxX

double VectSharp.Markdown.LineEventArgs.ContentMaxX
get

The maximum x coordinate of the content in the line.

Definition at line 547 of file MarkdownRenderer.Events.cs.

◆ ContentMaxY

double VectSharp.Markdown.LineEventArgs.ContentMaxY
get

The maximum y coordinate of the content in the line.

Definition at line 557 of file MarkdownRenderer.Events.cs.

◆ ContentMinY

double VectSharp.Markdown.LineEventArgs.ContentMinY
get

The minimum y coordinate of the content in the line.

Definition at line 552 of file MarkdownRenderer.Events.cs.

◆ Graphics

Graphics VectSharp.Markdown.LineEventArgs.Graphics
getset

The current VectSharp.Graphics surface.

Definition at line 527 of file MarkdownRenderer.Events.cs.

◆ Line

Line VectSharp.Markdown.LineEventArgs.Line
get

The line that will be rendered.

Definition at line 532 of file MarkdownRenderer.Events.cs.

◆ MarkdownContext

MarkdownContext VectSharp.Markdown.LineEventArgs.MarkdownContext
getset

The current VectSharp.Markdown.MarkdownContext.

Definition at line 522 of file MarkdownRenderer.Events.cs.

◆ PageMaxX

double VectSharp.Markdown.LineEventArgs.PageMaxX
get

The maximum space available for the line on the x axis.

Definition at line 537 of file MarkdownRenderer.Events.cs.

◆ PageMaxY

double VectSharp.Markdown.LineEventArgs.PageMaxY
get

The maximum space available for the line on the y axis.

Definition at line 542 of file MarkdownRenderer.Events.cs.


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