UnitType
内容
[
隐藏
]UnitType class
指定测量单位。
public sealed class UnitType : IEquatable<UnitType>
方法
姓名 | 描述 |
---|---|
override Equals(object) | 判断是否指定Object 等于这个实例。 |
Equals(UnitType) | 判断是否指定UnitType 等于这个实例。 |
override GetHashCode() | 返回此实例的哈希码。 |
override ToString() | 返回一个String代表这个实例。 |
operator == | 判断两个是否指定UnitType 值相等。 |
explicit operator | 执行显式转换UnitType 至String . |
implicit operator | 从String至UnitType . |
operator != | 判断两个是否指定UnitType 值不相等。 |
字段
姓名 | 描述 |
---|---|
static readonly Auto | 测量未定义。 |
static readonly Ch | 测量是相对于“0”(零)的宽度。 |
static readonly Cm | 测量单位为厘米 |
static readonly Deg | 测量以度为单位。 |
static readonly Dpcm | 以每厘米点数为单位。 |
static readonly Dpi | 以每英寸点数为单位。 |
static readonly Dppx | 测量单位为每像素点数。 |
static readonly Em | 测量是相对于父元素字体的高度。 |
static readonly Ex | 测量是相对于父元素字体的小写字母 x 的高度。 |
static readonly Grad | 测量以梯度为单位。 |
static readonly Hz | 测量单位为赫兹。 |
static readonly In | 测量单位为英寸 |
static readonly Integer | 测量值是一个整数。 |
static readonly KHz | 测量单位为千赫兹。 |
static readonly Mm | 测量单位为毫米 |
static readonly Ms | 测量以毫秒为单位。 |
static readonly Pc | 测量单位为 picas |
static readonly Percentage | 测量以百分比表示。 |
static readonly Pt | 测量以点为单位 |
static readonly Px | 测量以像素为单位 |
static readonly Q | 测量单位为四分之一毫米 |
static readonly Rad | 测量以弧度为单位。 |
static readonly Real | 测量值是一个实数。 |
static readonly Rem | 尺寸与根元素的字体大小相关。 |
static readonly S | 测量以秒为单位。 |
static readonly Turn | 轮流测量。 |
static readonly Vh | 测量是相对于视口高度的 1%* 试试看 |
static readonly Vmax | 测量是相对于视口* 较大尺寸的 1% 试试看 |
static readonly Vmin | 测量是相对于视口* 较小尺寸的 1% 试试看 |
static readonly Vw | 测量是相对于视口宽度的 1%* |
也可以看看
- 命名空间 Aspose.Svg.Drawing
- 部件 Aspose.SVG