Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeShadow

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
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

Explore 2 API references to this type

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

Returned or exposed by 2

Constructors

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

Creates a shadow descriptor.

Parameters

color OfficeIMO.OfficeColor required
opacity double required
offsetX double required
offsetY double required
blurRadius double = 0 optional

Methods

public OfficeShadow Clone() #

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.