ColorExtensionsToStraightSafe(PColor64) Method
            Converts this premultiplied 
PColor64 instance containing possibly invalid RGB values to a straight 
Color64 value.
            
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.1.1
public static Color64 ToStraightSafe(
	this PColor64 color
)
<ExtensionAttribute>
Public Shared Function ToStraightSafe ( 
	color As PColor64
) As Color64
public:
[ExtensionAttribute]
static Color64 ToStraightSafe(
	PColor64 color
)
[<ExtensionAttribute>]
static member ToStraightSafe : 
        color : PColor64 -> Color64 
- color  PColor64
- The PColor64 value to convert.
Color64A straight 
Color64 value.In Visual Basic and C#, you can call this method as an instance method on any object of type 
PColor64. 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).