Struct NativePaint.TRIVERTEX
Provides the color information and position information.
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 TRIVERTEX
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 |