Search Results for

    Show / Hide Table of Contents

    Class SvgTextBase

    Inheritance
    Object
    SvgElement
    SvgVisualElement
    SvgTextBase
    SvgText
    SvgTextPath
    SvgTextRef
    SvgTextSpan
    Implements
    ISvgTransformable
    ICloneable
    ISvgNode
    ISvgStylable
    ISvgBoundable
    ISvgClipable
    Inherited Members
    SvgVisualElement.Clip
    SvgVisualElement.ClipPath
    SvgVisualElement.ClipRule
    SvgVisualElement.Filter
    SvgVisualElement.RequiresSmoothRendering
    SvgVisualElement.Renderable
    SvgVisualElement.ISvgBoundable.Location
    SvgVisualElement.ISvgBoundable.Size
    SvgVisualElement.Render(ISvgRenderer)
    SvgVisualElement.RenderFill(ISvgRenderer)
    SvgVisualElement.RenderStroke(ISvgRenderer)
    SvgVisualElement.SetClip(ISvgRenderer)
    SvgVisualElement.ResetClip(ISvgRenderer)
    SvgVisualElement.ISvgClipable.SetClip(ISvgRenderer)
    SvgVisualElement.ISvgClipable.ResetClip(ISvgRenderer)
    SvgVisualElement.Visible
    SvgVisualElement.Displayable
    SvgVisualElement.EnableBackground
    SvgElement.AddStyle(String, String, Int32)
    SvgElement.FlushStyles(Boolean)
    SvgElement.ContainsAttribute(String)
    SvgElement.TryGetAttribute(String, String)
    SvgElement.HttpClient
    SvgElement.Namespaces
    SvgElement.ElementNamespace
    SvgElement.ElementName
    SvgElement.Color
    SvgElement.Content
    SvgElement.Events
    SvgElement.Load
    SvgElement.Children
    SvgElement.Nodes
    SvgElement.Descendants()
    SvgElement.HasChildren()
    SvgElement.Parent
    SvgElement.Parents
    SvgElement.ParentsAndSelf
    SvgElement.OwnerDocument
    SvgElement.Attributes
    SvgElement.Writing
    SvgElement.GetAttribute<TAttributeType>(String, Boolean, TAttributeType)
    SvgElement.CustomAttributes
    SvgElement.Transforms
    SvgElement.ID
    SvgElement.SetAndForceUniqueID(String, Boolean, Action<SvgElement, String, String>)
    SvgElement.AddElement(SvgElement, Int32)
    SvgElement.ChildAdded
    SvgElement.RemoveElement(SvgElement)
    SvgElement.InitialiseFromXML(XmlReader, SvgDocument)
    SvgElement.WriteStartElement(XmlWriter)
    SvgElement.WriteEndElement(XmlWriter)
    SvgElement.WriteAttributes(XmlWriter)
    SvgElement.AutoPublishEvents
    SvgElement.Write(XmlWriter)
    SvgElement.WriteChildren(XmlWriter)
    SvgElement.Clone()
    SvgElement.DeepCopy()
    SvgElement.ISvgNode.DeepCopy()
    SvgElement.AttributeChanged
    SvgElement.OnAttributeChanged(AttributeEventArgs)
    SvgElement.ContentChanged
    SvgElement.OnContentChanged(ContentEventArgs)
    SvgElement.Click
    SvgElement.MouseDown
    SvgElement.MouseUp
    SvgElement.MouseMove
    SvgElement.MouseScroll
    SvgElement.MouseOver
    SvgElement.MouseOut
    SvgElement.CreateMouseEventAction(Action<Object, MouseArg>)
    SvgElement.RaiseMouseClick(Object, MouseArg)
    SvgElement.RaiseMouseDown(Object, MouseArg)
    SvgElement.RaiseMouseUp(Object, MouseArg)
    SvgElement.RaiseMouseMove(Object, MouseArg)
    SvgElement.RaiseMouseOver(Object, MouseArg)
    SvgElement.RaiseMouseOut(Object, MouseArg)
    SvgElement.OnMouseScroll(Int32, Boolean, Boolean, Boolean, String)
    SvgElement.RaiseMouseScroll(Object, MouseScrollArg)
    SvgElement.PushTransforms(ISvgRenderer)
    SvgElement.PopTransforms(ISvgRenderer)
    SvgElement.ISvgTransformable.PushTransforms(ISvgRenderer)
    SvgElement.ISvgTransformable.PopTransforms(ISvgRenderer)
    SvgElement.TransformedBounds(RectangleF)
    SvgElement.RenderElement(ISvgRenderer)
    SvgElement.RenderChildren(ISvgRenderer)
    SvgElement.AddPaths(SvgElement, GraphicsPath)
    SvgElement.GetPaths(SvgElement, ISvgRenderer)
    SvgElement.IsPathDirty
    SvgElement.InvalidateChildPaths()
    SvgElement.FixOpacityValue(Single)
    SvgElement.Stroke
    SvgElement.FillRule
    SvgElement.FillOpacity
    SvgElement.StrokeWidth
    SvgElement.StrokeLineCap
    SvgElement.StrokeLineJoin
    SvgElement.StrokeMiterLimit
    SvgElement.StrokeDashArray
    SvgElement.StrokeDashOffset
    SvgElement.StrokeOpacity
    SvgElement.Opacity
    SvgElement.ShapeRendering
    SvgElement.ColorInterpolation
    SvgElement.ColorInterpolationFilters
    SvgElement.Visibility
    SvgElement.Display
    SvgElement.TextAnchor
    SvgElement.BaselineShift
    SvgElement.FontFamily
    SvgElement.FontSize
    SvgElement.FontStyle
    SvgElement.FontVariant
    SvgElement.TextDecoration
    SvgElement.FontWeight
    SvgElement.FontStretch
    SvgElement.TextTransformation
    SvgElement.Font
    SvgElement.ValidateFontFamily(String, SvgDocument, SvgFontManager)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Svg
    Assembly: Svg.dll
    Syntax
    public abstract class SvgTextBase : SvgVisualElement, ISvgTransformable, ICloneable, ISvgNode, ISvgStylable, ISvgBoundable, ISvgClipable

    Constructors

    | Improve this Doc View Source

    SvgTextBase()

    Declaration
    public SvgTextBase()

    Properties

    | Improve this Doc View Source

    Bounds

    Gets the bounds of the element.

    Declaration
    public override RectangleF Bounds { get; }
    Property Value
    Type Description
    RectangleF

    The bounds.

    Overrides
    SvgVisualElement.Bounds
    | Improve this Doc View Source

    Dx

    Gets or sets the dX.

    Declaration
    public virtual SvgUnitCollection Dx { get; set; }
    Property Value
    Type Description
    SvgUnitCollection

    The dX.

    | Improve this Doc View Source

    Dy

    Gets or sets the dY.

    Declaration
    public virtual SvgUnitCollection Dy { get; set; }
    Property Value
    Type Description
    SvgUnitCollection

    The dY.

    | Improve this Doc View Source

    Fill

    Gets or sets the fill.

    Declaration
    public override SvgPaintServer Fill { get; set; }
    Property Value
    Type Description
    SvgPaintServer

    The fill.

    Overrides
    SvgElement.Fill
    Remarks

    Unlike other SvgVisualElements, SvgText has a default fill of black rather than transparent.

    | Improve this Doc View Source

    LengthAdjust

    Gets or sets the text anchor.

    Declaration
    public virtual SvgTextLengthAdjust LengthAdjust { get; set; }
    Property Value
    Type Description
    SvgTextLengthAdjust

    The text anchor.

    | Improve this Doc View Source

    LetterSpacing

    Specifies spacing behavior between text characters.

    Declaration
    public virtual SvgUnit LetterSpacing { get; set; }
    Property Value
    Type Description
    SvgUnit
    | Improve this Doc View Source

    Rotate

    Gets or sets the rotate.

    Declaration
    public virtual string Rotate { get; set; }
    Property Value
    Type Description
    System.String

    The rotate.

    | Improve this Doc View Source

    SpaceHandling

    Declaration
    public override XmlSpaceHandling SpaceHandling { set; }
    Property Value
    Type Description
    XmlSpaceHandling
    Overrides
    SvgElement.SpaceHandling
    | Improve this Doc View Source

    Text

    Gets or sets the text to be rendered.

    Declaration
    public virtual string Text { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TextLength

    The pre-calculated length of the text

    Declaration
    public virtual SvgUnit TextLength { get; set; }
    Property Value
    Type Description
    SvgUnit
    | Improve this Doc View Source

    WordSpacing

    Specifies spacing behavior between words.

    Declaration
    public virtual SvgUnit WordSpacing { get; set; }
    Property Value
    Type Description
    SvgUnit
    | Improve this Doc View Source

    X

    Gets or sets the X.

    Declaration
    public virtual SvgUnitCollection X { get; set; }
    Property Value
    Type Description
    SvgUnitCollection

    The X.

    | Improve this Doc View Source

    Y

    Gets or sets the Y.

    Declaration
    public virtual SvgUnitCollection Y { get; set; }
    Property Value
    Type Description
    SvgUnitCollection

    The Y.

    Methods

    | Improve this Doc View Source

    DeepCopy<T>()

    Declaration
    public override SvgElement DeepCopy<T>()
        where T : SvgElement, new()
    Returns
    Type Description
    SvgElement
    Type Parameters
    Name Description
    T
    Overrides
    SvgElement.DeepCopy<T>()
    | Improve this Doc View Source

    GetAuthorPathLength()

    Declaration
    protected virtual float GetAuthorPathLength()
    Returns
    Type Description
    Single
    | Improve this Doc View Source

    GetBaselinePath(ISvgRenderer)

    Declaration
    protected virtual GraphicsPath GetBaselinePath(ISvgRenderer renderer)
    Parameters
    Type Name Description
    ISvgRenderer renderer
    Returns
    Type Description
    GraphicsPath
    | Improve this Doc View Source

    OnChange(String, String)

    Declaration
    protected void OnChange(string newString, string sessionID)
    Parameters
    Type Name Description
    System.String newString
    System.String sessionID
    | Improve this Doc View Source

    Path(ISvgRenderer)

    Gets the for this element.

    Declaration
    public override GraphicsPath Path(ISvgRenderer renderer)
    Parameters
    Type Name Description
    ISvgRenderer renderer
    Returns
    Type Description
    GraphicsPath
    Overrides
    SvgVisualElement.Path(ISvgRenderer)
    | Improve this Doc View Source

    PrepareText(String)

    Prepare the text according to the whitespace handling rules and text transformations. SVG Spec.

    Declaration
    protected string PrepareText(string value)
    Parameters
    Type Name Description
    System.String value

    Text to be prepared

    Returns
    Type Description
    System.String

    Prepared text

    | Improve this Doc View Source

    RaiseChange(Object, StringArg)

    Declaration
    protected void RaiseChange(object sender, StringArg s)
    Parameters
    Type Name Description
    Object sender
    StringArg s
    | Improve this Doc View Source

    RegisterEvents(ISvgEventCaller)

    Declaration
    public override void RegisterEvents(ISvgEventCaller caller)
    Parameters
    Type Name Description
    ISvgEventCaller caller
    Overrides
    SvgElement.RegisterEvents(ISvgEventCaller)
    | Improve this Doc View Source

    RenderFillAndStroke(ISvgRenderer)

    Declaration
    protected override void RenderFillAndStroke(ISvgRenderer renderer)
    Parameters
    Type Name Description
    ISvgRenderer renderer
    Overrides
    SvgVisualElement.RenderFillAndStroke(ISvgRenderer)
    | Improve this Doc View Source

    ShouldWriteElement()

    Empty text elements are not legal - only write this element if it has children.

    Declaration
    public override bool ShouldWriteElement()
    Returns
    Type Description
    Boolean
    Overrides
    SvgElement.ShouldWriteElement()
    | Improve this Doc View Source

    ToString()

    Returns a System.String that represents the current Object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A System.String that represents the current Object.

    Overrides
    System.Object.ToString()
    | Improve this Doc View Source

    UnregisterEvents(ISvgEventCaller)

    Declaration
    public override void UnregisterEvents(ISvgEventCaller caller)
    Parameters
    Type Name Description
    ISvgEventCaller caller
    Overrides
    SvgElement.UnregisterEvents(ISvgEventCaller)

    Events

    | Improve this Doc View Source

    Change

    Declaration
    public event EventHandler<StringArg> Change
    Event Type
    Type Description
    System.EventHandler<StringArg>

    Implements

    ISvgTransformable
    System.ICloneable
    ISvgNode
    ISvgStylable
    ISvgBoundable
    ISvgClipable

    Extension Methods

    SvgExtentions.GetXML(SvgElement)
    SvgExtentions.HasNonEmptyCustomAttribute(SvgElement, String)
    SvgExtentions.ApplyRecursive(SvgElement, Action<SvgElement>)
    SvgExtentions.ApplyRecursiveDepthFirst(SvgElement, Action<SvgElement>)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX