Search Results for

    Show / Hide Table of Contents

    Class SvgFontDefn

    Inheritance
    Object
    SvgFontDefn
    Implements
    IFontDefn
    System.IDisposable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    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
    Type Name Description
    SvgFont font
    Single size
    Single ppi

    Properties

    | Improve this Doc View Source

    Size

    Declaration
    public float Size { get; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    SizeInPoints

    Declaration
    public float SizeInPoints { get; }
    Property Value
    Type Description
    Single

    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
    Type Name Description
    ISvgRenderer renderer
    Returns
    Type Description
    Single
    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | 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
    Type Description
    IList<RectangleF>
    | 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
    Type Description
    SizeF

    Implements

    IFontDefn
    System.IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX