Table of Contents

Struct Strikethrough

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll

Contains information regarding the size and placement of strikethroughs. All coordinates are in device independent pixels (DIPs).

public struct Strikethrough
Inherited Members

Fields

FlowDirection

Flow direction of the text associated with the strikethrough. This value is used to interpret whether the thickness value advances top to bottom, left to right, or right to left.

public FlowDirection FlowDirection

Field Value

FlowDirection

LocaleName

An array of characters containing the locale of the text that is the strikethrough is being drawn over.

public string LocaleName

Field Value

string

MeasuringMode

The measuring mode can be useful to the renderer to determine how underlines are rendered, such as rounding the thickness to a whole pixel in GDI-compatible modes.

public MeasuringMode MeasuringMode

Field Value

MeasuringMode

Offset

A value that indicates the offset of the strikethrough from the baseline. A positive offset represents a position below the baseline and a negative offset is above. Typically, the offset will be negative.

public float Offset

Field Value

float

ReadingDirection

Reading direction of the text associated with the strikethrough. This value is used to interpret whether the width value runs horizontally or vertically.

public ReadingDirection ReadingDirection

Field Value

ReadingDirection

Thickness

A value that indicates the thickness of the strikethrough, measured perpendicular to the baseline.

public float Thickness

Field Value

float

Width

A value that indicates the width of the strikethrough, measured parallel to the baseline.

public float Width

Field Value

float