alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class NativePaint.TRIVERTEX

    Provides the color information and position information.

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

    Constructors

    TRIVERTEX(Int32, Int32, Int16, Int16, Int16, Int16)

    Initializes a new instance of the NativePaint.TRIVERTEX struct.

    Declaration
    public TRIVERTEX(int x, int y, short red, short green, short blue, short alpha)
    Parameters
    Type Name Description
    System.Int32 x

    The X position.

    System.Int32 y

    The Y position.

    System.Int16 red

    The red color value.

    System.Int16 green

    The green color value.

    System.Int16 blue

    The blue color value.

    System.Int16 alpha

    The alpha color value.

    Fields

    Alpha

    The color information at the point of x, y.

    Declaration
    public short Alpha
    Field Value
    Type
    System.Int16

    Blue

    The color information at the point of x, y.

    Declaration
    public short Blue
    Field Value
    Type
    System.Int16

    Green

    The color information at the point of x, y.

    Declaration
    public short Green
    Field Value
    Type
    System.Int16

    Red

    The color information at the point of x, y.

    Declaration
    public short Red
    Field Value
    Type
    System.Int16

    X

    The x-coordinate, in logical units, of the upper-left corner of the rectangle.

    Declaration
    public int X
    Field Value
    Type
    System.Int32

    Y

    The y-coordinate, in logical units, of the upper-left corner of the rectangle.

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