WinForms

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

    Show / Hide Table of Contents

    Class RendererUtils

    Inheritance
    System.Object
    RendererUtils
    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 class RendererUtils

    Constructors

    RendererUtils()

    Declaration
    public RendererUtils()

    Methods

    GetAntiAliasingRectangles(Rectangle)

    Declaration
    public static Rectangle[] GetAntiAliasingRectangles(Rectangle rect)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rect
    Returns
    Type Description
    System.Drawing.Rectangle[]

    GetRoundedPath(RectangleF, Int32)

    Declaration
    public GraphicsPath GetRoundedPath(RectangleF bounds, int radious)
    Parameters
    Type Name Description
    System.Drawing.RectangleF bounds
    System.Int32 radious
    Returns
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    GetRoundedPolygon(Rectangle, Int32)

    Declaration
    public static Point[] GetRoundedPolygon(Rectangle rc, int iRadius)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rc
    System.Int32 iRadius
    Returns
    Type Description
    System.Drawing.Point[]

    GetRoundedRegion(Rectangle, Int32)

    Declaration
    public static Region GetRoundedRegion(Rectangle rc, int iRadius)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rc
    System.Int32 iRadius
    Returns
    Type Description
    System.Drawing.Region

    GetSquareRoundedToDownPolygon(Rectangle, Int32)

    Declaration
    public static Point[] GetSquareRoundedToDownPolygon(Rectangle rc, int iRadius)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rc
    System.Int32 iRadius
    Returns
    Type Description
    System.Drawing.Point[]

    GetSquareRoundedToLeftPolygon(Rectangle, Int32)

    Declaration
    public static Point[] GetSquareRoundedToLeftPolygon(Rectangle rc, int iRadius)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rc
    System.Int32 iRadius
    Returns
    Type Description
    System.Drawing.Point[]

    GetSquareRoundedToRightPolygon(Rectangle, Int32)

    Declaration
    public static Point[] GetSquareRoundedToRightPolygon(Rectangle rc, int iRadius)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rc
    System.Int32 iRadius
    Returns
    Type Description
    System.Drawing.Point[]

    GetSquareRoundedToUpPolygon(Rectangle, Int32)

    Declaration
    public static Point[] GetSquareRoundedToUpPolygon(Rectangle rc, int iRadius)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rc
    System.Int32 iRadius
    Returns
    Type Description
    System.Drawing.Point[]

    IsValidRegion(ToolStrip, Graphics)

    Declaration
    public static bool IsValidRegion(ToolStrip toolStrip, Graphics g)
    Parameters
    Type Name Description
    System.Windows.Forms.ToolStrip toolStrip
    System.Drawing.Graphics g
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved