Shadow
The shadow class for holding information about
a box or text-shadow.
namespace AngleSharp.Css.Values
{
public sealed class Shadow
{
private readonly bool _inset;
private readonly Length _offsetX;
private readonly Length _offsetY;
private readonly Length _blurRadius;
private readonly Length _spreadRadius;
private readonly Color _color;
public Color Color => _color;
public Length OffsetX => _offsetX;
public Length OffsetY => _offsetY;
public Length BlurRadius => _blurRadius;
public Length SpreadRadius => _spreadRadius;
public bool IsInset => _inset;
public Shadow(bool inset, Length offsetX, Length offsetY, Length blurRadius, Length spreadRadius, Color color)
{
_inset = inset;
_offsetX = offsetX;
_offsetY = offsetY;
_blurRadius = blurRadius;
_spreadRadius = spreadRadius;
_color = color;
}
}
}