|
PixelRect | Rect (Alignment alignment) |
| Return a rectangle representing the bounding box of the entire text with the alignment point centered at the origin.
|
|
|
PixelSize | Size [get] |
| Size of the entire multiline label in pixels. Width is the largest value returned by paint.MeasureText(). Height is the line height multiplied by the number of lines.
|
|
float | LineHeight [get] |
| Vertical spacing between each line. This is the value returned by GetFontMetrics().
|
|
float[] | LineWidths [get] |
| Width of each line of text in pixel units.
|
|
required float | VerticalOffset [get] |
| Recommended vertical offset when calling SKCanvas.DrawText(). See https://github.com/ScottPlot/ScottPlot/issues/3700 for details.
|
|
required float | Bottom [get] |
| Distance below the baseline the rendered font may occupy.
|
|
float | Width [get] |
| Width of the entire text. Equals the length of the widest line.
|
|
float | Height [get] |
| Height of the entire text.
|
|
◆ Rect()
Return a rectangle representing the bounding box of the entire text with the alignment point centered at the origin.
◆ Bottom
required float ScottPlot.MeasuredText.Bottom |
|
get |
Distance below the baseline the rendered font may occupy.
◆ Height
float ScottPlot.MeasuredText.Height |
|
get |
Height of the entire text.
◆ LineHeight
float ScottPlot.MeasuredText.LineHeight |
|
get |
Vertical spacing between each line. This is the value returned by GetFontMetrics().
◆ LineWidths
float [] ScottPlot.MeasuredText.LineWidths |
|
get |
Width of each line of text in pixel units.
◆ Size
Size of the entire multiline label in pixels. Width is the largest value returned by paint.MeasureText(). Height is the line height multiplied by the number of lines.
◆ VerticalOffset
required float ScottPlot.MeasuredText.VerticalOffset |
|
get |
◆ Width
float ScottPlot.MeasuredText.Width |
|
get |
Width of the entire text. Equals the length of the widest line.
The documentation for this struct was generated from the following file:
- ScottPlot/src/ScottPlot5/ScottPlot5/Primitives/MeasuredText.cs