InkTrailStyle Class

The style of a delegated ink trail (https://wicg.github.io/ink-enhancement/#dictdef-inktrailstyle): its color and the diameter of its tip.

public sealed class InkTrailStyle

Constructors

NameDescription
InkTrailStyle()

InkTrailStyle()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public InkTrailStyle()

No documentation is available.

Properties

NameDescription
ColorGets the color of the trail: a CSS <color>.
DiameterGets the diameter of the tip of the trail, in CSS pixels: it must be greater than 0.

Color

Ink.cs

Gets the color of the trail: a CSS <color>.

public required string Color { get; init; }

Diameter

Ink.cs

Gets the diameter of the tip of the trail, in CSS pixels: it must be greater than 0.

public required double Diameter { get; init; }