DSkin
DSkin
DSkin.Html.Adapters
RGraphics 类
RGraphics 方法
Dispose 方法
DrawImage 方法
DrawLine 方法
DrawPath 方法
DrawPolygon 方法
DrawRectangle 方法
DrawString 方法
GetClip 方法
GetGraphicsPath 方法
GetLinearGradientBrush 方法
GetPen 方法
GetSolidBrush 方法
GetTextureBrush 方法
MeasureString 方法
PopClip 方法
PushClip 方法
PushClipExclude 方法
ReturnPreviousSmoothingMode 方法
SetAntiAliasSmoothingMode 方法
RGraphics
GetLinearGradientBrush 方法
Get linear gradient color brush from
color1
to
color2
.
命名空间:
DSkin.Html.Adapters
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
复制
public
RBrush
GetLinearGradientBrush
(
RRect
rect
,
RColor
color1
,
RColor
color2
,
double
angle
)
参数
rect
类型:
DSkin.Html.Adapters.Entities
RRect
the rectangle to get the brush for
color1
类型:
DSkin.Html.Adapters.Entities
RColor
the start color of the gradient
color2
类型:
DSkin.Html.Adapters.Entities
RColor
the end color of the gradient
angle
类型:
System
Double
the angle to move the gradient from start color to end color in the rectangle
返回值
类型:
RBrush
linear gradient color brush instance
参见
引用
RGraphics 类
DSkin.Html.Adapters 命名空间