OuterShadow

OuterShadow class

Represents an Outer Shadow effect.

public sealed class OuterShadow : IOuterShadow

Properties

NameDescription
BlurRadius { get; set; }Blur radius, in points. Default value – 0 pt. Read/write Double.
Direction { get; set; }Direction of the shadow, in degrees. Default value – 0 ° (left-to-right). Read/write Single.
Distance { get; set; }Distance of the shadow from the object, in points. Default value – 0 pt. Read/write Double.
RectangleAlign { get; set; }Rectangle alignment. Default value – Bottom. Read/write RectangleAlignment.
RotateShadowWithShape { get; set; }Indicates whether the shadow rotates together with the shape. Default value – true. Read/write Boolean.
ScaleHorizontal { get; set; }Horizontal scaling factor, in percent of the original size. Negative scaling causes a flip. Default value – 100 %. Read/write Double.
ScaleVertical { get; set; }Vertical scaling factor, in percent of the original size. Negative scaling causes a flip. Default value – 100 %. Read/write Double.
ShadowColor { get; }Color of the shadow. Default value – automatic black (theme-dependent). Read-only IColorFormat.
SkewHorizontal { get; set; }Horizontal skew angle, in degrees. Default value – 0 °. Read/write Double.
SkewVertical { get; set; }Vertical skew angle, in degrees. Default value – 0 °. Read/write Double.

Methods

NameDescription
override Equals(object)Determines whether the specified OuterShadow is equal to the current OuterShadow.
GetEffective()Gets effective Outer Shadow effect data with the inheritance applied.
override GetHashCode()Serves as a hash function for a particular type.

See Also