Table of Contents

Class TextSpan2

Namespace
SVGImage.SVG
Assembly
DotNetProjects.SVGImage.dll
public class TextSpan2 : Shape
Inheritance
TextSpan2
Inherited Members

Constructors

TextSpan2(SVG, Shape, eElementType, List<StyleItem>)

public TextSpan2(SVG svg, Shape parent, TextSpan2.eElementType eType, List<StyleItem> attrs)

Parameters

svg SVG
parent Shape
eType TextSpan2.eElementType
attrs List<StyleItem>

TextSpan2(SVG, Shape, string)

public TextSpan2(SVG svg, Shape parent, string text)

Parameters

svg SVG
parent Shape
text string

Properties

Attributes

public List<StyleItem> Attributes { get; set; }

Property Value

List<StyleItem>

Children

public List<TextSpan2> Children { get; }

Property Value

List<TextSpan2>

ElementType

public TextSpan2.eElementType ElementType { get; }

Property Value

TextSpan2.eElementType

End

public TextSpan2 End { get; set; }

Property Value

TextSpan2

StartIndex

public int StartIndex { get; set; }

Property Value

int

Text

public string Text { get; set; }

Property Value

string

Transform

public override Transform Transform { get; }

Property Value

Transform

Methods

Parse(SVG, string, TextShape2)

public static TextSpan2 Parse(SVG svg, string text, TextShape2 owner)

Parameters

svg SVG
text string
owner TextShape2

Returns

TextSpan2

Print(TextSpan2, string)

public static void Print(TextSpan2 tag, string indent)

Parameters

tag TextSpan2
indent string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.