RasterImage.HasTransparentColor

RasterImage.HasTransparentColor property

Gets or sets a value indicating whether this RasterImage instance has a transparent color.

public virtual bool HasTransparentColor { get; set; }

Remarks

The base implementation effectively returns false if not overridden in a specific implementation that supports this feature. This property is primarily used by Apng, Png, Gif, Tga to set a transparent color if an image does not support transparency via alpha channel.

See Also