Table of Contents

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

coverage int
foreground RichColor?
background RichColor?

Properties

Background

Gets the background color, or null for automatic.

public RichColor? Background { get; }

Property Value

RichColor?

Coverage

Gets foreground coverage in hundredths of one percent.

public int Coverage { get; }

Property Value

int

Foreground

Gets the foreground color, or null for automatic.

public RichColor? Foreground { get; }

Property Value

RichColor?