[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.BaseInplaceEffect

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
object
BaseInplaceEffect
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

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, 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.

Apply(GcBitmap)

Applies the effect to the specified GcBitmap.

protected abstract void Apply(GcBitmap bitmap)

Parameters

bitmap GcBitmap

The target GcBitmap.