Class SvgFontDefn
- Namespace
- Svg
- Assembly
- Svg.dll
public class SvgFontDefn : IFontDefn, IDisposable
- Inheritance
-
SvgFontDefn
- Implements
- Inherited Members
Constructors
SvgFontDefn(SvgFont, float, float)
public SvgFontDefn(SvgFont font, float size, float ppi)
Parameters
Properties
Size
public float Size { get; }
Property Value
SizeInPoints
public float SizeInPoints { get; }
Property Value
Methods
AddStringToPath(ISvgRenderer, GraphicsPath, string, PointF)
public void AddStringToPath(ISvgRenderer renderer, GraphicsPath path, string text, PointF location)
Parameters
renderer
ISvgRendererpath
GraphicsPathtext
stringlocation
PointF
Ascent(ISvgRenderer)
public float Ascent(ISvgRenderer renderer)
Parameters
renderer
ISvgRenderer
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
MeasureCharacters(ISvgRenderer, string)
public IList<RectangleF> MeasureCharacters(ISvgRenderer renderer, string text)
Parameters
renderer
ISvgRenderertext
string
Returns
MeasureString(ISvgRenderer, string)
public SizeF MeasureString(ISvgRenderer renderer, string text)
Parameters
renderer
ISvgRenderertext
string