alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class 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.

    Inheritance
    System.Object
    NativePaint.GRADIENT_RECT
    Namespace: Syncfusion.WinForms.Core
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public sealed class GRADIENT_RECT : ValueType

    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 - 2026 Syncfusion Inc. All Rights Reserved