menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HalftonePainter - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class HalftonePainter

    This class allows user to draw splitter( half-tone brush filled rectangle ).

    Inheritance
    System.Object
    HalftonePainter
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public sealed class HalftonePainter

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved