Table of Contents

Class ImmutableTextDecoration

Namespace
Avalonia.Media.Immutable
Assembly
Avalonia.Base.dll

An immutable representation of a TextDecoration.

public class ImmutableTextDecoration
Inheritance
ImmutableTextDecoration
Inherited Members

Constructors

ImmutableTextDecoration(TextDecorationLocation, ImmutablePen, TextDecorationUnit, double, TextDecorationUnit)

public ImmutableTextDecoration(TextDecorationLocation location, ImmutablePen pen, TextDecorationUnit penThicknessUnit, double penOffset, TextDecorationUnit penOffsetUnit)

Parameters

location TextDecorationLocation
pen ImmutablePen
penThicknessUnit TextDecorationUnit
penOffset double
penOffsetUnit TextDecorationUnit

Properties

Location

Gets or sets the location.

public TextDecorationLocation Location { get; }

Property Value

TextDecorationLocation

The location.

Pen

Gets or sets the pen.

public ImmutablePen Pen { get; }

Property Value

ImmutablePen

The pen.

PenOffset

Gets or sets the pen offset.

public double PenOffset { get; }

Property Value

double

The pen offset.

PenOffsetUnit

Gets the units in which the PenOffset value is expressed.

public TextDecorationUnit PenOffsetUnit { get; }

Property Value

TextDecorationUnit

PenThicknessUnit

Gets the units in which the Thickness of the text decoration's Pen is expressed.

public TextDecorationUnit PenThicknessUnit { get; }

Property Value

TextDecorationUnit