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.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public bool HasSingleBitAlpha {
	get;
 set; }

Property Value

Boolean

See Also