RRect 方法 |
RRect 类型公开以下成员。
名称 | 说明 | |
---|---|---|
Contains(RPoint) |
Determines if the specified point is contained within this RRect structure.
| |
Contains(RRect) |
Determines if the rectangular region represented by rect is entirely contained within this
RRect
structure.
| |
Contains(Double, Double) |
Determines if the specified point is contained within this RRect structure.
| |
Equals | (重写 ValueTypeEquals(Object).) | |
FromLTRB |
Creates a RRect structure with upper-left corner and lower-right corner at the specified locations.
| |
GetHashCode |
Gets the hash code for this RRect structure. For information about the use of hash codes, see Object.GetHashCode.
(重写 ValueTypeGetHashCode.) | |
Inflate(RSize) |
Inflates this RRect by the specified amount.
| |
Inflate(Double, Double) |
Inflates this RRect structure by the specified amount.
| |
Inflate(RRect, Double, Double) |
Creates and returns an inflated copy of the specified RRect structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.
| |
Intersect(RRect) | ||
Intersect(RRect, RRect) | ||
IntersectsWith |
Determines if this rectangle intersects with rect.
| |
Offset(RPoint) |
Adjusts the location of this rectangle by the specified amount.
| |
Offset(Double, Double) |
Adjusts the location of this rectangle by the specified amount.
| |
ToString |
Converts the Location and Size of this RRect to a human-readable string.
(重写 ValueTypeToString.) | |
Union |
Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.
|
名称 | 说明 | |
---|---|---|
FormatDateTime |
将数据以时间格式并对其格式化
(由 ObjectExtenstions 定义。) | |
FormatNumber |
将数据以数值方式对数据格式化
(由 ObjectExtenstions 定义。) | |
FormatString |
将数据以字符串格式对数据格式化
(由 ObjectExtenstions 定义。) | |
Sleep |
异步延迟执行代码,只能在主线程中调用
(由 DuiControlExtensions 定义。) | |
ToBool |
将数据转换成Bool,如果转换失败返回False
(由 ObjectExtenstions 定义。) | |
ToDateTime |
将数据转换成DateTime,如果转换失败返回空的时间
(由 ObjectExtenstions 定义。) | |
ToDouble |
将数据转换成Double,如果转换失败返回0
(由 ObjectExtenstions 定义。) | |
ToEnumT |
将数据转换成枚举,如果转换失败则返回默认值
(由 ObjectExtenstions 定义。) | |
ToFloat |
将数据转换成Float,如果转换失败返回0
(由 ObjectExtenstions 定义。) | |
ToInt | 已重载。
将数据转换成int,如果转换失败返回0
(由 ObjectExtenstions 定义。) | |
ToInt(Int32) | 已重载。
数据转换成int,如果转换失败,返回errorResult
(由 ObjectExtenstions 定义。) | |
ToJson |
将对象序列化成Json字符串
(由 JsonHelper 定义。) | |
ToLong |
将数据转换成Long,如果转换失败返回0
(由 ObjectExtenstions 定义。) |