Class SvgFontDefn
Implements
System.IDisposable
Inherited Members
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Svg
Assembly: Svg.dll
Syntax
public class SvgFontDefn : IFontDefn, IDisposable
Constructors
|
Improve this Doc
View Source
SvgFontDefn(SvgFont, Single, Single)
Declaration
public SvgFontDefn(SvgFont font, float size, float ppi)
Parameters
Properties
|
Improve this Doc
View Source
Size
Declaration
public float Size { get; }
Property Value
|
Improve this Doc
View Source
SizeInPoints
Declaration
public float SizeInPoints { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddStringToPath(ISvgRenderer, GraphicsPath, String, PointF)
Declaration
public void AddStringToPath(ISvgRenderer renderer, GraphicsPath path, string text, PointF location)
Parameters
| Type |
Name |
Description |
| ISvgRenderer |
renderer |
|
| GraphicsPath |
path |
|
| System.String |
text |
|
| PointF |
location |
|
|
Improve this Doc
View Source
Ascent(ISvgRenderer)
Declaration
public float Ascent(ISvgRenderer renderer)
Parameters
Returns
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
MeasureCharacters(ISvgRenderer, String)
Declaration
public IList<RectangleF> MeasureCharacters(ISvgRenderer renderer, string text)
Parameters
| Type |
Name |
Description |
| ISvgRenderer |
renderer |
|
| System.String |
text |
|
Returns
|
Improve this Doc
View Source
MeasureString(ISvgRenderer, String)
Declaration
public SizeF MeasureString(ISvgRenderer renderer, string text)
Parameters
| Type |
Name |
Description |
| ISvgRenderer |
renderer |
|
| System.String |
text |
|
Returns
Implements
System.IDisposable