Skip to content

T_Cyjb_Text_LocationMap

CYJB edited this page Mar 20, 2024 · 3 revisions

LocationMap 类

提供将位置线性映射到其它范围的能力。

继承层次

System.Object
  Cyjb.Text.LocationMap
Namespace: Cyjb.Text
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public sealed class LocationMap

The LocationMap type exposes the following members.

构造函数

 

名称 说明
公共方法 LocationMap() 初始化 LocationMap 类的新实例。
公共方法 LocationMap(IEnumerable(Tuple(Int32, Int32)), LocationMapType) 使用指定的位置映射关系初始化 LocationMap 类的新实例。
  Back to Top

方法

 

名称 说明
公共方法 Add 添加指定的位置映射。
公共方法 AddOffset 添加指定的位置偏移映射。
公共方法 Clear 清除所有映射。
公共方法 Equals Determines whether the specified object is equal to the current object. (继承自 Object。)
公共方法 GetHashCode Serves as the default hash function. (继承自 Object。)
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
公共方法 MapLocation 映射指定的位置。
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
  Back to Top

参见

Reference

Cyjb.Text 命名空间

Clone this wiki locally