ShapeGlow module

class ShapeGlow.ShapeGlow

Bases: XlsObject, IGlow, ICloneParent

Represents glow effect settings for a shape in Excel.

This class implements the IGlow and ICloneParent interfaces and provides functionality for configuring glow effects applied to shapes in Excel worksheets. Glow effects add a colored, blurred outline around the shape to create a glowing appearance.

Clone(parent: SpireObject) SpireObject

Creates a copy of the glow effect with the specified parent.

Parameters:

parent (SpireObject) – The parent object for the cloned glow effect.

Returns:

A new SpireObject that is a copy of this glow effect.

Return type:

SpireObject

property Color: Color

Gets or sets the color of the glow effect.

Returns:

The color object representing the glow color.

Return type:

Color

property Radius: int

Gets or sets the radius of the glow effect.

The radius determines the overall size of the glow around the shape.

Returns:

The radius of the glow effect in points.

Return type:

int

property SoftEdge: int

Gets or sets the radius of the soft edge effect for the glow.

The soft edge radius determines how far the glow extends from the shape’s edge.

Returns:

The radius of the soft edge effect in points.

Return type:

int

property Transparency: int

Gets or sets the transparency level of the glow effect.

The transparency value ranges from 0 (fully opaque) to 100 (fully transparent).

Returns:

The transparency level as a percentage (0-100).

Return type:

int