PixelFormatExtensionsHasAlpha Method
Gets whether this
PixelFormat instance represents a format with alpha (transparency) without checking
whether
pixelFormat represents a valid value.
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.1.0
public static bool HasAlpha(
this PixelFormat pixelFormat
)
<ExtensionAttribute>
Public Shared Function HasAlpha (
pixelFormat As PixelFormat
) As Boolean
public:
[ExtensionAttribute]
static bool HasAlpha(
PixelFormat pixelFormat
)
[<ExtensionAttribute>]
static member HasAlpha :
pixelFormat : PixelFormat -> bool
- pixelFormat PixelFormat
- The pixel format to be checked.
Boolean, if this
KnownPixelFormat instance represents a format with alpha; otherwise,
.In Visual Basic and C#, you can call this method as an instance method on any object of type
PixelFormat. 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).