PixelFormatInfoHasSingleBitAlpha Property
Gets or sets whether the represented pixel format supports single-bit alpha only (a pixel is either completely transparent or completely opaque).
Setting this property to
sets also the
HasAlpha property.
It is not mandatory to set this property for custom single-bit alpha formats, but it helps optimizing some drawing operations.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public bool HasSingleBitAlpha {
get;
set; }
Public Property HasSingleBitAlpha As Boolean
Get
Set
public:
property bool HasSingleBitAlpha {
bool get ();
void set (bool value);
}
member HasSingleBitAlpha : bool with
get, set
Property Value
Boolean