ColorExtensionsToColor(PColor32) Method
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.0.0
public static Color ToColor(
this PColor32 color
)
<ExtensionAttribute>
Public Shared Function ToColor (
color As PColor32
) As Color
public:
[ExtensionAttribute]
static Color ToColor(
PColor32 color
)
[<ExtensionAttribute>]
static member ToColor :
color : PColor32 -> Color
- color PColor32
- The PColor32 to convert.
ColorA
Color instance converted from this
PColor32 instance.In Visual Basic and C#, you can call this method as an instance method on any object of type
PColor32. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).