TextSpan Constructor

Initializes a new instance of the TextSpan class with the specified parameters.

Namespace: Aurigma.GraphicsMill.Codecs.Psd
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
protected TextSpan(
	float fontSize,
	string fontName,
	Color color,
	FontCaps fontCaps,
	float tracking,
	float hScale,
	float vScale,
	bool fauxBold,
	bool fauxItalic,
	bool underline,
	bool strikeout,
	float leading,
	string string,
	DigitType digitType,
	ReadOnlyCollection<OpenTypeFeature> openTypeFeatures
)

Parameters

fontSize

Type: System.Single

fontName

Type: System.String

The font name.
color

Type: Aurigma.GraphicsMill.Color

The text color.
fontCaps

Type: Aurigma.GraphicsMill.Codecs.Psd.FontCaps

The font caps style.
tracking

Type: System.Single

The character tracking value.
hScale

Type: System.Single

vScale

Type: System.Single

fauxBold

Type: System.Boolean

fauxItalic

Type: System.Boolean

underline

Type: System.Boolean

A value indicating whether the text is underlined.
strikeout

Type: System.Boolean

leading

Type: System.Single

The line leading value.
string

Type: System.String

digitType

Type: Aurigma.GraphicsMill.Codecs.Psd.DigitType

The digit type.
openTypeFeatures

Type: System.Collections.ObjectModel.ReadOnlyCollection<OpenTypeFeature>

The OpenType features to apply.

See Also

Reference