API Reference
Class
OfficeShadow
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
- Method OfficeShadow.Clone
- Property OfficeShape.Shadow
Constructors
public OfficeShadow(OfficeColor color, Double opacity, Double offsetX, Double offsetY, Double blurRadius = 0) #Creates a shadow descriptor.
Parameters
- color OfficeIMO.Drawing.OfficeColor
- opacity System.Double
- offsetX System.Double
- offsetY System.Double
- blurRadius System.Double = 0
Methods
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
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.