PixelSize 结构 |
命名空间: CPF
public readonly struct PixelSize
PixelSize 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| Equals |
Checks for equality between a size and an object.
(重写 ValueTypeEquals(Object).) | |
| FromSize(Size, Vector) |
Converts a Size to device pixels using the specified scaling factor.
| |
| FromSize(Size, Double) |
Converts a Size to device pixels using the specified scaling factor.
| |
| FromSizeWithDpi(Size, Vector) |
Converts a Size to device pixels using the specified dots per inch (DPI).
| |
| FromSizeWithDpi(Size, Double) |
Converts a Size to device pixels using the specified dots per inch (DPI).
| |
| GetHashCode |
Returns a hash code for a PixelSize.
(重写 ValueTypeGetHashCode.) | |
| GetType | (继承自 Object。) | |
| Parse | ||
| ToSize(Single) |
Converts the PixelSize to a device-independent Size using the
specified scaling factor.
| |
| ToSize(Vector) |
Converts the PixelSize to a device-independent Size using the
specified scaling factor.
| |
| ToSizeWithDpi(Single) |
Converts the PixelSize to a device-independent Size using the
specified dots per inch (DPI).
| |
| ToSizeWithDpi(Vector) |
Converts the PixelSize to a device-independent Size using the
specified dots per inch (DPI).
| |
| ToString |
Returns the string representation of the size.
(重写 ValueTypeToString.) | |
| WithHeight |
Returns a new PixelSize with the same width and the specified height.
| |
| WithWidth |
Returns a new PixelSize with the same height and the specified width.
|
| 名称 | 说明 | |
|---|---|---|
| Equality |
Checks for equality between two PixelSizes.
| |
| Inequality |
Checks for inequality between two Sizes.
|
| 名称 | 说明 | |
|---|---|---|
| ConvertTo |
类型转换
(由 ObjectExtenstions 定义。) | |
| Delay |
延迟操作
(由 ObjectExtenstions 定义。) | |
| Equal |
对象是否相等
(由 ObjectExtenstions 定义。) | |
| GetCreationCode | (由 ObjectExtenstions 定义。) | |
| GetPropretyValue |
获取对象属性值
(由 ObjectExtenstions 定义。) | |
| GetValue |
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。) | |
| Invoke |
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。) | |
| SetPropretyValue |
设置属性值
(由 ObjectExtenstions 定义。) | |
| SetValue |
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。) |