Represents a rectangle.
More...
Represents a rectangle.
Definition at line 222 of file Line.cs.
◆ RectangleFragment()
VectSharp.Markdown.RectangleFragment.RectangleFragment |
( |
Point |
topLeft, |
|
|
Size |
size, |
|
|
Colour |
colour, |
|
|
string |
tag |
|
) |
| |
Create a new RectangleFragment.
- Parameters
-
topLeft | The top-left corner of the rectangle. |
size | The size of the rectangle. |
colour | The colour used to draw the rectangle. |
tag | Graphics action tag for the rectangle. |
Definition at line 246 of file Line.cs.
◆ GetAscent()
override double VectSharp.Markdown.RectangleFragment.GetAscent |
( |
double |
lineAscent | ) |
|
|
virtual |
◆ GetMaxX()
override double VectSharp.Markdown.RectangleFragment.GetMaxX |
( |
| ) |
|
|
virtual |
◆ GetMaxY()
override double VectSharp.Markdown.RectangleFragment.GetMaxY |
( |
| ) |
|
|
virtual |
◆ Render()
override? Point VectSharp.Markdown.RectangleFragment.Render |
( |
Graphics |
graphics, |
|
|
double |
deltaY |
|
) |
| |
|
virtual |
◆ Translate()
override void VectSharp.Markdown.RectangleFragment.Translate |
( |
double |
deltaX, |
|
|
double |
deltaY |
|
) |
| |
|
virtual |
Applies the specified translation to the line fragment.
- Parameters
-
deltaX | The translation in the horizontal direction. |
deltaY | The translation in the vertical direction. |
Implements VectSharp.Markdown.LineFragment.
Definition at line 255 of file Line.cs.
◆ Colour
Colour VectSharp.Markdown.RectangleFragment.Colour |
|
get |
The colour used to draw the rectangle.
Definition at line 237 of file Line.cs.
◆ Size
Size VectSharp.Markdown.RectangleFragment.Size |
|
get |
The size of the rectangle.
Definition at line 232 of file Line.cs.
◆ TopLeft
Point VectSharp.Markdown.RectangleFragment.TopLeft |
|
get |
The top-left corner of the rectangle, relative to the cursor at the start of the line.
Definition at line 227 of file Line.cs.
The documentation for this class was generated from the following file: