[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmap.ConvertToPremultipliedAlpha

ConvertToPremultipliedAlpha Method

ConvertToPremultipliedAlpha()

Premultiplies the color channels by the alpha channel and sets the Premultiplied property to True.

Declaration
public void ConvertToPremultipliedAlpha()
Public Sub ConvertToPremultipliedAlpha()

ConvertToPremultipliedAlpha(Rectangle)

Premultiplies the color channels of the specified rectangle by the alpha channel.

The Premultiplied property is not affected by this overload.

Declaration
public void ConvertToPremultipliedAlpha(Rectangle clipRect)
Public Sub ConvertToPremultipliedAlpha(clipRect As Rectangle)
Parameters
Type Name Description
Rectangle clipRect

The target rectangle of the GcBitmap.