Class SvgTextBase
Inherited Members
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
Properties
|
Improve this Doc
View Source
Bounds
Gets the bounds of the element.
Declaration
public override RectangleF Bounds { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Dx
Declaration
public virtual SvgUnitCollection Dx { get; set; }
Property Value
|
Improve this Doc
View Source
Dy
Declaration
public virtual SvgUnitCollection Dy { get; set; }
Property Value
|
Improve this Doc
View Source
Fill
Declaration
public override SvgPaintServer Fill { get; set; }
Property Value
Overrides
|
Improve this Doc
View Source
LengthAdjust
Gets or sets the text anchor.
Declaration
public virtual SvgTextLengthAdjust LengthAdjust { get; set; }
Property Value
|
Improve this Doc
View Source
LetterSpacing
Specifies spacing behavior between text characters.
Declaration
public virtual SvgUnit LetterSpacing { get; set; }
Property Value
|
Improve this Doc
View Source
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
Overrides
|
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
|
Improve this Doc
View Source
WordSpacing
Specifies spacing behavior between words.
Declaration
public virtual SvgUnit WordSpacing { get; set; }
Property Value
|
Improve this Doc
View Source
X
Declaration
public virtual SvgUnitCollection X { get; set; }
Property Value
|
Improve this Doc
View Source
Y
Declaration
public virtual SvgUnitCollection Y { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
DeepCopy<T>()
Declaration
public override SvgElement DeepCopy<T>()
where T : SvgElement, new()
Returns
Type Parameters
Overrides
|
Improve this Doc
View Source
GetAuthorPathLength()
Declaration
protected virtual float GetAuthorPathLength()
Returns
|
Improve this Doc
View Source
GetBaselinePath(ISvgRenderer)
Declaration
protected virtual GraphicsPath GetBaselinePath(ISvgRenderer renderer)
Parameters
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
Returns
| Type |
Description |
| GraphicsPath |
|
Overrides
|
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
|
Improve this Doc
View Source
RegisterEvents(ISvgEventCaller)
Declaration
public override void RegisterEvents(ISvgEventCaller caller)
Parameters
Overrides
|
Improve this Doc
View Source
RenderFillAndStroke(ISvgRenderer)
Declaration
protected override void RenderFillAndStroke(ISvgRenderer renderer)
Parameters
Overrides
|
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
Overrides
|
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
Overrides
Events
|
Improve this Doc
View Source
Change
Declaration
public event EventHandler<StringArg> Change
Event Type
| Type |
Description |
| System.EventHandler<StringArg> |
|
Implements
Extension Methods