Table of Contents

Class Paint

Namespace
SixLabors.Fonts.Rendering
Assembly
SixLabors.Fonts.dll

Base type for normalized paint definitions that can be used by any renderer. Glyph sources must pre-apply all relevant transforms and resolve any palette or format-specific constructs before creating a paint instance.

public abstract class Paint
Inheritance
Paint
Derived
Inherited Members

Properties

CompositeMode

Gets the composite mode to use when applying this paint over existing content.

public CompositeMode CompositeMode { get; init; }

Property Value

CompositeMode

Opacity

Gets the per-layer opacity multiplier in the range [0, 1]. Renderers should multiply this value into the alpha channel of the final brush.

public float Opacity { get; init; }

Property Value

float