Class RFont
- Namespace
- TheArtOfDev.HtmlRenderer.Adapters
- Assembly
- StockSharp.Xaml.dll
Adapter for platform specific font object - used to render text using specific font.
public abstract class RFont
- Inheritance
-
RFont
- Inherited Members
- Extension Methods
Constructors
RFont()
protected RFont()
Properties
Height
The line spacing, in pixels, of this font.
public abstract double Height { get; }
Property Value
LeftPadding
Get the left padding, in pixels, of the font.
public abstract double LeftPadding { get; }
Property Value
Size
Gets the em-size of this Font measured in the units specified by the Unit property.
public abstract double Size { get; }
Property Value
UnderlineOffset
Get the vertical offset of the font underline location from the top of the font.
public abstract double UnderlineOffset { get; }
Property Value
Methods
GetWhitespaceWidth(RGraphics)
Get the right padding, in pixels, of the font.
public abstract double GetWhitespaceWidth(RGraphics graphics)
Parameters
graphics
RGraphics