MathNode
Namespace: Temml
public sealed class MathNode : MathDomNodeA MathML element, such as mo or mspace. Maps to MathNode.
Inheritance: object → MathDomNode
Constructors
Section titled “Constructors”MathNode(string, List<MathDomNode>?, List<string>?, DomPropertyMap?)
Section titled “MathNode(string, List<MathDomNode>?, List<string>?, DomPropertyMap?)”public MathNode(string type, List<MathDomNode>? children = null, List<string>? classes = null, DomPropertyMap? style = null)Initializes a new instance of the MathNode class. The lists and the style are used as they are, not copied, as in upstream.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string | |
children |
List<MathDomNode> | |
classes |
List<string> | |
style |
DomPropertyMap |
Properties
Section titled “Properties”public string Label { get; set; }The label set by \label.
Value: string
Methods
Section titled “Methods”SetAttribute(string, string?)
Section titled “SetAttribute(string, string?)”public override void SetAttribute(string name, string? value)Sets an attribute.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string | |
value |
string |
MIT · Copyright 2020 Ron Kok · unofficial community port of Temml