C# Class WeifenLuo.WinFormsUI.Docking.DrawHelper

Show file Open project: samarjeet27/ynoteclassic Class Usage Examples

Public Methods

Method Description
CalculateGraphicsPathFromBitmap ( Bitmap bitmap ) : GraphicsPath
CalculateGraphicsPathFromBitmap ( Bitmap bitmap, Color colorTransparent ) : GraphicsPath
GetRoundedCornerTab ( GraphicsPath graphicsPath, Rectangle rect, bool upCorner ) : GraphicsPath
RtlTransform ( Control control, Point point ) : Point
RtlTransform ( Control control, Rectangle rectangle ) : Rectangle

Method Details

CalculateGraphicsPathFromBitmap() public static method

public static CalculateGraphicsPathFromBitmap ( Bitmap bitmap ) : GraphicsPath
bitmap System.Drawing.Bitmap
return System.Drawing.Drawing2D.GraphicsPath

CalculateGraphicsPathFromBitmap() public static method

public static CalculateGraphicsPathFromBitmap ( Bitmap bitmap, Color colorTransparent ) : GraphicsPath
bitmap System.Drawing.Bitmap
colorTransparent Color
return System.Drawing.Drawing2D.GraphicsPath

GetRoundedCornerTab() public static method

public static GetRoundedCornerTab ( GraphicsPath graphicsPath, Rectangle rect, bool upCorner ) : GraphicsPath
graphicsPath System.Drawing.Drawing2D.GraphicsPath
rect System.Drawing.Rectangle
upCorner bool
return System.Drawing.Drawing2D.GraphicsPath

RtlTransform() public static method

public static RtlTransform ( Control control, Point point ) : Point
control System.Windows.Forms.Control
point Point
return Point

RtlTransform() public static method

public static RtlTransform ( Control control, Rectangle rectangle ) : Rectangle
control System.Windows.Forms.Control
rectangle System.Drawing.Rectangle
return System.Drawing.Rectangle