点击或拖拽改变大小

GraphicsAdapter 类

Adapter for WinForms Graphics for core.
继承层次

命名空间:  DSkin.Html.Adapters
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public sealed class GraphicsAdapter : RGraphics

GraphicsAdapter 类型公开以下成员。

构造函数
  名称说明
公共方法GraphicsAdapter
Init.
Top
方法
  名称说明
公共方法Dispose
释放被 GraphicsAdapter 使用的所有资源
(重写 RGraphicsDispose.)
公共方法DrawImage(RImage, RRect) (重写 RGraphicsDrawImage(RImage, RRect).)
公共方法DrawImage(RImage, RRect, RRect) (重写 RGraphicsDrawImage(RImage, RRect, RRect).)
公共方法DrawLine (重写 RGraphicsDrawLine(RPen, Double, Double, Double, Double).)
公共方法DrawPath(RBrush, RGraphicsPath) (重写 RGraphicsDrawPath(RBrush, RGraphicsPath).)
公共方法DrawPath(RPen, RGraphicsPath) (重写 RGraphicsDrawPath(RPen, RGraphicsPath).)
公共方法DrawPolygon (重写 RGraphicsDrawPolygon(RBrush, RPoint).)
公共方法DrawRectangle(RBrush, Double, Double, Double, Double) (重写 RGraphicsDrawRectangle(RBrush, Double, Double, Double, Double).)
公共方法DrawRectangle(RPen, Double, Double, Double, Double) (重写 RGraphicsDrawRectangle(RPen, Double, Double, Double, Double).)
公共方法DrawString (重写 RGraphicsDrawString(String, RFont, RColor, RPoint, RSize, Boolean).)
公共方法GetClip
Gets a Rectangle structure that bounds the clipping region of this Graphics.
(继承自 RGraphics。)
公共方法GetGraphicsPath (重写 RGraphicsGetGraphicsPath.)
公共方法GetLinearGradientBrush
Get linear gradient color brush from color1 to color2.
(继承自 RGraphics。)
公共方法GetPen
Get color pen.
(继承自 RGraphics。)
公共方法GetSolidBrush
Get solid color brush.
(继承自 RGraphics。)
公共方法GetTextureBrush (重写 RGraphicsGetTextureBrush(RImage, RRect, RPoint).)
公共方法MeasureString(String, RFont) (重写 RGraphicsMeasureString(String, RFont).)
公共方法MeasureString(String, RFont, Double, Int32, Double) (重写 RGraphicsMeasureString(String, RFont, Double, Int32, Double).)
公共方法PopClip (重写 RGraphicsPopClip.)
公共方法PushClip (重写 RGraphicsPushClip(RRect).)
公共方法PushClipExclude (重写 RGraphicsPushClipExclude(RRect).)
公共方法ReturnPreviousSmoothingMode (重写 RGraphicsReturnPreviousSmoothingMode(Object).)
公共方法SetAntiAliasSmoothingMode (重写 RGraphicsSetAntiAliasSmoothingMode.)
Top
扩展方法
  名称说明
公共扩展器方法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 定义。)
Top
参见