Class BaseInplaceEffect
- Namespace
- GrapeCity.Documents.Imaging
- Assembly
- GcDocs.Imaging.dll
The base class for all in-place effects, not creating a new GcBitmap.
public abstract class BaseInplaceEffect
- Inheritance
-
BaseInplaceEffect
- Derived
-
- Inherited Members
-
Constructors
BaseInplaceEffect()
protected BaseInplaceEffect()
Properties
SupportsPremultiplied
Gets a value indicating whether the effect can be applied to an image with premultiplied alpha channel.
public virtual bool SupportsPremultiplied { get; }
Property Value
- bool
Methods
Apply(GcBitmap)
Applies the effect to the specified GcBitmap.
protected abstract void Apply(GcBitmap bitmap)
Parameters
bitmap
GcBitmap
The target GcBitmap.
Apply(GcBitmap, int, int, int, int)
Applies the effect to a part of the specified GcBitmap.
protected abstract void Apply(GcBitmap bitmap, int x, int y, int width, int height)
Parameters
bitmap
GcBitmap
The target GcBitmap.
x
int
The x-coordinate of the target rectangle, in pixels.
y
int
The y-coordinate of the target rectangle, in pixels.
width
int
The width of the target rectangle, in pixels.
height
int
The height of the target rectangle, in pixels.