Class HalftonePainter
This class allows user to draw splitter( half-tone brush filled rectangle ).
Inheritance
System.Object
HalftonePainter
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public sealed class HalftonePainter : Object
Constructors
HalftonePainter()
Declaration
public HalftonePainter()
Methods
DrawRectangle(Control, Rectangle)
Draws splitter in specified rectangle.
Declaration
public static void DrawRectangle(Control ctrl, Rectangle rectangle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.Control | ctrl | |
| System.Drawing.Rectangle | rectangle | rectangle to draw splitter in ( screen coordinates ). |
GetScaleFactor()
Declaration
public static int GetScaleFactor()
Returns
| Type |
|---|
| System.Int32 |