RSize 结构 |
命名空间: DSkin.Html.Adapters.Entities
public struct RSize
RSize 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | RSize(RPoint) |
Initializes a new instance of the RSize structure from the specified RPoint structure.
|
![]() | RSize(RSize) |
Initializes a new instance of the RSize structure from the specified existing
RSize
structure.
|
![]() | RSize(Double, Double) |
Initializes a new instance of the RSize structure from the specified dimensions.
|
名称 | 说明 | |
---|---|---|
![]() | Height |
Gets or sets the vertical component of this RSize structure.
|
![]() | IsEmpty |
Gets a value that indicates whether this RSize structure has zero width and height.
|
![]() | Width |
Gets or sets the horizontal component of this RSize structure.
|
名称 | 说明 | |
---|---|---|
![]() ![]() | Add |
Adds the width and height of one RSize structure to the width and height of another
RSize
structure.
|
![]() | Equals |
Tests to see whether the specified object is a RSize structure with the same dimensions as this
RSize
structure.
(重写 ValueTypeEquals(Object).) |
![]() | GetHashCode |
Returns a hash code for this RSize structure.
(重写 ValueTypeGetHashCode.) |
![]() ![]() | Subtract |
Subtracts the width and height of one RSize structure from the width and height of another
RSize
structure.
|
![]() | ToPointF |
Converts a RSize structure to a RPoint structure.
|
![]() | ToString |
Creates a human-readable string that represents this RSize structure.
(重写 ValueTypeToString.) |
名称 | 说明 | |
---|---|---|
![]() ![]() | Addition |
Adds the width and height of one RSize structure to the width and height of another
RSize
structure.
|
![]() ![]() | Equality |
Tests whether two RSize structures are equal.
|
![]() ![]() | (RSize to RPoint) |
Converts the specified RSize structure to a
RPoint structure.
|
![]() ![]() | Inequality |
Tests whether two RSize structures are different.
|
![]() ![]() | Subtraction |
Subtracts the width and height of one RSize structure from the width and height of another
RSize
structure.
|
名称 | 说明 | |
---|---|---|
![]() | 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 定义。) |