Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeShadow

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Dependency-free shadow intent for reusable drawing shapes. Positive Y offsets move the shadow down in the shape's local top-left coordinate space.

Inheritance

  • Object
  • OfficeShadow

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public OfficeShadow(OfficeColor color, Double opacity, Double offsetX, Double offsetY, Double blurRadius = 0) #

Creates a shadow descriptor.

Parameters

color OfficeIMO.Drawing.OfficeColor requiredposition: 0
opacity System.Double requiredposition: 1
offsetX System.Double requiredposition: 2
offsetY System.Double requiredposition: 3
blurRadius System.Double = 0 optionalposition: 4

Methods

public OfficeShadow Clone() #
Returns: OfficeShadow

Creates a detached copy.

Properties

public OfficeColor Color { get; } #

Shadow color.

public Double Opacity { get; } #

Shadow opacity from 0.0 to 1.0.

public Double OffsetX { get; } #

Horizontal shadow offset in the caller's layout unit.

public Double OffsetY { get; } #

Vertical shadow offset in the caller's layout unit.

public Double BlurRadius { get; } #

Approximate blur radius in the caller's layout unit.