SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface IEffect

    *** PLACEHOLDER - Not yet implemented.

    Defines a single visual effect (shadow, glow, etc.) that can be applied to a shape, or to a theme's effectStyleLst entry.

    Covers DrawingML's "common" effect set — the effects real documents actually use on a shape or theme effect style: outer/inner/preset shadow, glow, soft edge, reflection. The broader alpha-/color-transform effect family (alphaMod, duotone, blend, etc.) is picture/blip adjustment territory, not modeled here.

    interface IEffect {
        getType(): IEffect.Type;
        isEqual(other: IEffect | null): boolean;
        toCSS(mode?: CSSMode): Properties;
        toJSON(): IEffect.JSON;
    }

    Hierarchy (View Summary)

    Index
    • Returns true if the effect is equal to the other effect.

      Parameters

      Returns boolean

    • Returns the effect as a set of css strings that are suitable for css.

      Parameters

      Returns Properties

      Not all effect types will offer an exact css equivalent.