ooodev.adapter.drawing.shadow_properties_partial module

class ooodev.adapter.drawing.shadow_properties_partial.ShadowPropertiesPartial(component)[source]

Bases: object

Service Class

This is a set of properties to describe the style for rendering a shadow.

Parameters:

component (ShadowProperties) –

__init__(component)[source]

Constructor

Parameters:

component (ShadowProperties) – UNO Component that implements com.sun.star.drawing.ShadowProperties interface.

Return type:

None

property shadow: bool

Gets/Sets - enables/disables the shadow of a Shape.

The other shadow properties are only applied if this is set to TRUE.

Return type:

bool

property shadow_blur: UnitMM100 | None

This defines the degree of blur of the shadow in points.

When setting value can be an int or UnitT.

optional

Returns:

UnitMM100 or None if property is not available.

Return type:

UnitMM100 | None

property shadow_color: Color

This is the color of the shadow of this Shape.

Returns:

Color

Return type:

Color

property shadow_transparence: Intensity

This defines the degree of transparence of the shadow in percent.

Returns:

Intensity

Return type:

Intensity

property shadow_x_distance: UnitMM100

This is the horizontal distance of the left edge of the Shape to the shadow.

When setting value can be an int or UnitT.

Returns:

UnitMM100

Return type:

UnitMM100

property shadow_y_distance: UnitMM100

This is the vertical distance of the top edge of the Shape to the shadow.

When setting value can be an int or UnitT.

Returns:

UnitMM100

Return type:

UnitMM100