[]
The base class for all in-place effects, not creating a new GcBitmap.
public abstract class BaseInplaceEffect
protected BaseInplaceEffect()
Gets a value indicating whether the effect can be applied to an image with premultiplied alpha channel.
public virtual bool SupportsPremultiplied { get; }
Applies the effect to a part of the specified GcBitmap.
protected abstract void Apply(GcBitmap bitmap, int x, int y, int width, int height)
bitmap GcBitmapThe target GcBitmap.
x intThe x-coordinate of the target rectangle, in pixels.
y intThe y-coordinate of the target rectangle, in pixels.
width intThe width of the target rectangle, in pixels.
height intThe height of the target rectangle, in pixels.
Applies the effect to the specified GcBitmap.
protected abstract void Apply(GcBitmap bitmap)