DropShadowFilter class
이 콘텐츠는 아직 번역되지 않았습니다.
Draws a blurred, colored copy of the input offset by (Dx, Dy) DIPs behind it, or the shadow alone when Mode says so.
public sealed class DropShadowFilter : ImageFilterPublic Members
Section titled “Public Members”| name | description |
|---|---|
| DropShadowFilter(…) | Draws a blurred, colored copy of the input offset by (Dx, Dy) DIPs behind it, or the shadow alone when Mode says so. |
| Color { get; } | Gets the shadow color. |
| Dx { get; } | Gets the horizontal shadow offset in DIPs. |
| Dy { get; } | Gets the vertical shadow offset in DIPs. |
| Input { get; } | Gets the input filter, or null for the source layer. |
| override Inputs { get; } | |
| Mode { get; } | Gets whether the input is drawn over the shadow or the shadow is output alone. |
| Radius { get; } | Gets the blur radius in DIPs; negative values are clamped to 0. |
Remarks
Section titled “Remarks”Equivalent to Merge(Source, Composite(Flood(Color), Offset(dx, dy, Blur(σ, SourceAlpha)))), but backends may implement it as a single fused shader. Maps to SVG drop-shadow filter idioms.
See Also
Section titled “See Also”- class ImageFilter
- namespace Aprillz.MewUI.Rendering.Filters