menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Struct NativePaint.GRADIENT_RECT - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Struct NativePaint.GRADIENT_RECT

    Specifies the index of two vertices in the pVertex array in the GradientFill function. These two vertices form the upper-left and lower-right boundaries of a rectangle.

    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    Namespace: Syncfusion.WinForms.Core
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public struct GRADIENT_RECT

    Constructors

    GRADIENT_RECT(Int32, Int32)

    Initializes a new instance of the NativePaint.GRADIENT_RECT struct.

    Declaration
    public GRADIENT_RECT(int topLeft, int lowRight)
    Parameters
    Type Name Description
    System.Int32 topLeft

    The top left position.

    System.Int32 lowRight

    The bottom right position.

    Fields

    LowerRight

    The lower-left corner of a rectangle.

    Declaration
    public int LowerRight
    Field Value
    Type
    System.Int32

    UpperLeft

    The upper-left corner of a rectangle.

    Declaration
    public int UpperLeft
    Field Value
    Type
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved