Table of Contents

Class ShapeShadow

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

An outer shadow cast by a shape (a:effectLst/a:outerShdw).

public sealed class ShapeShadow
Inheritance
ShapeShadow
Inherited Members

Remarks

Only the offset, colour and opacity are modelled. BlurRadius is carried so a renderer that can blur has the value, but DocWright's renderers paint the shadow as a hard-edged silhouette — see the effects note in COMPAT.md.

Constructors

ShapeShadow()

Properties

BlurRadius

Gets or sets the blur radius (a:outerShdw@blurRad).

Color

Gets or sets the shadow colour, or null when none was given.

Direction

Gets or sets the offset direction in 60000ths of a degree, clockwise from the positive x axis (a:outerShdw@dir).

Distance

Gets or sets the offset distance (a:outerShdw@dist).

Methods

Clone()

Creates a copy.