|
VectSharp 2.6.1
A light library for C# vector graphics
|
Represents one of the fragments that make up a Line. More...

Public Member Functions | |
| abstract void | Translate (double deltaX, double deltaY) |
| Applies the specified translation to the line fragment. More... | |
| abstract double | GetAscent (double lineAscent) |
| Get the ascent of the LineFragment. More... | |
| abstract double | GetMaxY () |
| Get the vertical coordinate of the bottom of the LineFragment. More... | |
| abstract double | GetMaxX () |
| Get the horizontal coordinate of the right side of the LineFragment. More... | |
| abstract ? Point | Render (Graphics graphics, double deltaY) |
| Render the LineFragment on the specified graphics surface. More... | |
Properties | |
| string | Tag [get] |
| Graphics action tag for the fragment. More... | |
|
pure virtual |
Get the ascent of the LineFragment.
| lineAscent | The ascent of the Line on which the fragment should be drawn. |
Implemented in VectSharp.Markdown.TextFragment, VectSharp.Markdown.UnderlineFragment, and VectSharp.Markdown.RectangleFragment.
|
pure virtual |
Get the horizontal coordinate of the right side of the LineFragment.
Implemented in VectSharp.Markdown.TextFragment, VectSharp.Markdown.UnderlineFragment, and VectSharp.Markdown.RectangleFragment.
|
pure virtual |
Get the vertical coordinate of the bottom of the LineFragment.
Implemented in VectSharp.Markdown.TextFragment, VectSharp.Markdown.UnderlineFragment, and VectSharp.Markdown.RectangleFragment.
|
pure virtual |
Render the LineFragment on the specified graphics surface.
| graphics | The Graphics surface on which the LineFragment will be drawn. |
| deltaY | Additional translation on the vertical axis. |
null. This is used to update the MarkdownContext.BottomRight property.Implemented in VectSharp.Markdown.TextFragment, VectSharp.Markdown.UnderlineFragment, and VectSharp.Markdown.RectangleFragment.
|
pure virtual |
Applies the specified translation to the line fragment.
| deltaX | The translation in the horizontal direction. |
| deltaY | The translation in the vertical direction. |
Implemented in VectSharp.Markdown.TextFragment, VectSharp.Markdown.UnderlineFragment, and VectSharp.Markdown.RectangleFragment.
|
get |