MathAccent
内容
[
隐藏
]MathAccent 类
指定重音函数,由基字符和组合变音符号组成 示例:𝑎́
public sealed class MathAccent : MathElementBase, IMathAccent
构造函数
| 名称 | 描述 |
|---|---|
| MathAccent(IMathElement) | 创建一个应用于指定数学元素的数学重音,使用默认的重音字符值 |
| MathAccent(IMathElement, char) | 创建一个应用于指定数学元素的数学重音 |
属性
| 名称 | 描述 |
|---|---|
| Base { get; } | 重音所应用的参数 |
| Character { get; set; } | 重音字符 值应在 (U+0300–U+036F) 或 (U+20D0–U+20EF) 范围内 默认值:组合抑扬音符 (U+0302) |
方法
| 名称 | 描述 |
|---|---|
| Accent(char) | 设置重音标记(位于此元素顶部的字符) |
| AsArgumentOfFunction(IMathElement) | 使用此实例作为参数调用指定的函数 |
| AsArgumentOfFunction(MathFunctionsOfOneArgument) | 使用此实例作为参数调用指定的函数 |
| AsArgumentOfFunction(string) | 使用此实例作为参数调用指定的函数 |
| AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement) | 使用此实例作为参数并使用指定的附加参数调用指定的函数 |
| AsArgumentOfFunction(MathFunctionsOfTwoArguments, string) | 使用此实例作为参数并使用指定的附加参数调用指定的函数 |
| Divide(IMathElement) | 使用此分子和指定的分母创建一个分数 |
| Divide(string) | 使用此分子和指定的分母创建一个分数 |
| Divide(IMathElement, MathFractionTypes) | 使用此分子和指定的分母创建指定类型的分数 |
| Divide(string, MathFractionTypes) | 使用此分子和指定的分母创建指定类型的分数 |
| Enclose() | 将数学元素括在圆括号中 |
| virtual Enclose(char, char) | 将数学元素用指定字符(如圆括号或其他字符)包围 |
| Function(IMathElement) | 使用此实例作为函数名,针对参数调用函数 |
| Function(string) | 使用此实例作为函数名,针对参数调用函数 |
| GetChildren() | 获取子元素 |
| Group() | 使用底部大括号将此元素放入组中 |
| Group(char, MathTopBotPositions, MathTopBotPositions) | 使用分组字符(如底部大括号或其他)将此元素放入组中 |
| Integral(MathIntegralTypes) | 获取无上下限的积分 |
| Integral(MathIntegralTypes, IMathElement, IMathElement) | 获取积分 |
| Integral(MathIntegralTypes, string, string) | 获取积分 |
| Integral(MathIntegralTypes, IMathElement, IMathElement, MathLimitLocations) | 获取积分 |
| Integral(MathIntegralTypes, string, string, MathLimitLocations) | 获取积分 |
| virtual Join(IMathElement) | 将数学元素连接并形成数学块 |
| virtual Join(string) | 将数学文本连接并形成数学块 |
| Nary(MathNaryOperatorTypes, IMathElement, IMathElement) | 创建 N 元运算符 |
| Nary(MathNaryOperatorTypes, string, string) | 创建 N 元运算符 |
| Overbar() | 在此元素上方设置横线 |
| Radical(IMathElement) | 指定给定次数的数学根,以指定参数为底 |
| Radical(string) | 指定给定次数的数学根,以指定参数为底 |
| SetLowerLimit(IMathElement) | 获取下限 |
| SetLowerLimit(string) | 获取下限 |
| SetSubscript(IMathElement) | 创建下标 |
| SetSubscript(string) | 创建下标 |
| SetSubSuperscriptOnTheLeft(IMathElement, IMathElement) | 在左侧创建下标和上标 |
| SetSubSuperscriptOnTheLeft(string, string) | 在左侧创建下标和上标 |
| SetSubSuperscriptOnTheRight(IMathElement, IMathElement) | 在右侧创建下标和上标 |
| SetSubSuperscriptOnTheRight(string, string) | 在右侧创建下标和上标 |
| SetSuperscript(IMathElement) | 创建上标 |
| SetSuperscript(string) | 创建上标 |
| SetUpperLimit(IMathElement) | 获取上限 |
| SetUpperLimit(string) | 获取上限 |
| ToBorderBox() | 将此元素放入边框框中 |
| ToBorderBox(bool, bool, bool, bool, bool, bool, bool, bool) | 将此元素放入边框框中 |
| ToBox() | 将此元素放入非可视框(逻辑分组),用于对方程或其他数学文本的组件进行分组。盒状对象可以(例如)作为带或不带对齐点的运算符仿真器,作为换行点,或进行分组以防止在内部换行。 |
| virtual ToMathArray() | 放入垂直数组 |
| Underbar() | 在此元素底部设置横线 |
示例
示例:
[C#]
IMathElement baseElement = new MathematicalText("x");
MathAccent accent = new MathAccent(baseElement, '~');