 | ControlHelperCalculateControlGraphicsPath 方法 |
Sweet 开发框架
返回指定图片中的非透明区域;
命名空间:
SweetUI.Factory
程序集:
SweetUI.Factory (在 SweetUI.Factory.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static GraphicsPath CalculateControlGraphicsPath(
Bitmap bitmap,
Color? colorTransparent = null
)
Public Shared Function CalculateControlGraphicsPath (
bitmap As Bitmap,
Optional colorTransparent As Color? = Nothing
) As GraphicsPath
static member CalculateControlGraphicsPath :
bitmap : Bitmap *
?colorTransparent : Nullable<Color>
(* Defaults:
let _colorTransparent = defaultArg colorTransparent null
*)
-> GraphicsPath
参数
- bitmap
- 类型:System.DrawingBitmap
位图 - colorTransparent (Optional)
- 类型:SystemNullableColor
颜色
返回值
类型:
GraphicsPath[缺少 "M:SweetUI.Factory.ControlHelper.CalculateControlGraphicsPath(System.Drawing.Bitmap,System.Nullable{System.Drawing.Color})" 的 <returns> 文档]
参见