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

EventArgs for the MarkdownRenderer.LineMeasured event. More...

Inheritance diagram for VectSharp.Markdown.LineMeasuredEventArgs:

Public Member Functions

 LineMeasuredEventArgs (MarkdownContext markdownContext, Graphics graphics, Line line, double pageMaxX, double pageMaxY, double contentMaxX, double contentMinY, double contentMaxY, double baseline)
 Create a new LineMeasuredEventArgs 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, set]
 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.LineMeasured event.

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

Constructor & Destructor Documentation

◆ LineMeasuredEventArgs()

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

Create a new LineMeasuredEventArgs

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 500 of file MarkdownRenderer.Events.cs.

Property Documentation

◆ Baseline

double VectSharp.Markdown.LineMeasuredEventArgs.Baseline
get

The vertical coordinate of the baseline.

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

◆ ContentMaxX

double VectSharp.Markdown.LineMeasuredEventArgs.ContentMaxX
get

The maximum x coordinate of the content in the line.

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

◆ ContentMaxY

double VectSharp.Markdown.LineMeasuredEventArgs.ContentMaxY
get

The maximum y coordinate of the content in the line.

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

◆ ContentMinY

double VectSharp.Markdown.LineMeasuredEventArgs.ContentMinY
get

The minimum y coordinate of the content in the line.

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

◆ Graphics

Graphics VectSharp.Markdown.LineMeasuredEventArgs.Graphics
getset

The current VectSharp.Graphics surface.

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

◆ Line

Line VectSharp.Markdown.LineMeasuredEventArgs.Line
getset

The line that will be rendered.

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

◆ MarkdownContext

MarkdownContext VectSharp.Markdown.LineMeasuredEventArgs.MarkdownContext
getset

The current VectSharp.Markdown.MarkdownContext.

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

◆ PageMaxX

double VectSharp.Markdown.LineMeasuredEventArgs.PageMaxX
get

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

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

◆ PageMaxY

double VectSharp.Markdown.LineMeasuredEventArgs.PageMaxY
get

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

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


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