Struct RichShading
- Namespace
- RichEdit.Core
- Assembly
- RichEdit.Core.dll
An RTF shading fill with coverage from zero through ten thousand.
public readonly record struct RichShading : IEquatable<RichShading>
- Implements
- Inherited Members
Constructors
RichShading(int, RichColor?, RichColor?)
Creates shading. Null colors use the text engine's automatic foreground/background.
public RichShading(int coverage, RichColor? foreground = null, RichColor? background = null)
Parameters
Properties
Background
Gets the background color, or null for automatic.
public RichColor? Background { get; }
Property Value
Coverage
Gets foreground coverage in hundredths of one percent.
public int Coverage { get; }
Property Value
Foreground
Gets the foreground color, or null for automatic.
public RichColor? Foreground { get; }