Class SvgFontDefn
Inheritance
System.Object
SvgFontDefn
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.Svg
Assembly: TelerikCommon.dll
Syntax
public class SvgFontDefn : IFontDefn, IDisposable
Constructors
SvgFontDefn(SvgFont, Single, Single)
Declaration
public SvgFontDefn(SvgFont font, float size, float ppi)
Parameters
SvgFont
font
|
System.Single
size
|
System.Single
ppi
|
Properties
Size
SizeInPoints
Declaration
public float SizeInPoints { get; }
Property Value
System.Single
|
Implements
Methods
AddStringToPath(ISvgRenderer, GraphicsPath, String, PointF)
Declaration
public void AddStringToPath(ISvgRenderer renderer, GraphicsPath path, string text, PointF location)
Parameters
ISvgRenderer
renderer
|
System.Drawing.Drawing2D.GraphicsPath
path
|
System.String
text
|
System.Drawing.PointF
location
|
Implements
Ascent(ISvgRenderer)
Declaration
public float Ascent(ISvgRenderer renderer)
Parameters
ISvgRenderer
renderer
|
Returns
System.Single
|
Implements
Dispose()
Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()
MeasureCharacters(ISvgRenderer, String)
Declaration
public IList<RectangleF> MeasureCharacters(ISvgRenderer renderer, string text)
Parameters
ISvgRenderer
renderer
|
System.String
text
|
Returns
System.Collections.Generic.IList<System.Drawing.RectangleF>
|
Implements
MeasureString(ISvgRenderer, String)
Declaration
public SizeF MeasureString(ISvgRenderer renderer, string text)
Parameters
ISvgRenderer
renderer
|
System.String
text
|
Returns
System.Drawing.SizeF
|