WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HalftonePainter

    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.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved