Class SfColor
Inheritance
System.Object
SfColor
Assembly: Syncfusion.Core.XForms.macOS.dll
public class SfColor : NSColor
Constructors
Declaration
public SfColor(IntPtr handle)
Parameters
Type |
Name |
Description |
System.IntPtr |
handle |
|
Methods
Declaration
public static NSColor FromHSB(nfloat hue, nfloat saturation, nfloat brightness)
Parameters
Type |
Name |
Description |
System.nfloat |
hue |
|
System.nfloat |
saturation |
|
System.nfloat |
brightness |
|
Returns
Declaration
public static NSColor FromHSBA(nfloat hue, nfloat saturation, nfloat brightness, nfloat alpha)
Parameters
Type |
Name |
Description |
System.nfloat |
hue |
|
System.nfloat |
saturation |
|
System.nfloat |
brightness |
|
System.nfloat |
alpha |
|
Returns
Declaration
public static NSColor FromRGB(nfloat r, nfloat g, nfloat b)
Parameters
Type |
Name |
Description |
System.nfloat |
r |
|
System.nfloat |
g |
|
System.nfloat |
b |
|
Returns
Declaration
public static NSColor FromRGBA(nfloat r, nfloat g, nfloat b, nfloat a)
Parameters
Type |
Name |
Description |
System.nfloat |
r |
|
System.nfloat |
g |
|
System.nfloat |
b |
|
System.nfloat |
a |
|
Returns