GlyphRun Costruttori

Definizione

Inizializza una nuova istanza della classe GlyphRun.Initializes a new instance of the GlyphRun class.

Overload

GlyphRun()
Obsoleta.

Inizializza una nuova istanza della classe GlyphRun.Initializes a new instance of the GlyphRun class.

GlyphRun(Single)

Inizializza una nuova istanza della classe GlyphRun.Initializes a new instance of the GlyphRun class.

GlyphRun(GlyphTypeface, Int32, Boolean, Double, IList<UInt16>, Point, IList<Double>, IList<Point>, IList<Char>, String, IList<UInt16>, IList<Boolean>, XmlLanguage)
Obsoleta.

Inizializza una nuova istanza della classe GlyphRun specificando le proprietà della classe.Initializes a new instance of the GlyphRun class by specifying properties of the class.

GlyphRun(GlyphTypeface, Int32, Boolean, Double, Single, IList<UInt16>, Point, IList<Double>, IList<Point>, IList<Char>, String, IList<UInt16>, IList<Boolean>, XmlLanguage)

Inizializza una nuova istanza della classe GlyphRun specificando le proprietà della classe.Initializes a new instance of the GlyphRun class by specifying properties of the class.

GlyphRun()

Attenzione

Use the PixelsPerDip override

Inizializza una nuova istanza della classe GlyphRun.Initializes a new instance of the GlyphRun class.

public:
 GlyphRun();
[System.Obsolete("Use the PixelsPerDip override", false)]
public GlyphRun ();
public GlyphRun ();
Public Sub New ()
Attributi

GlyphRun(Single)

Inizializza una nuova istanza della classe GlyphRun.Initializes a new instance of the GlyphRun class.

public:
 GlyphRun(float pixelsPerDip);
public GlyphRun (float pixelsPerDip);
new System.Windows.Media.GlyphRun : single -> System.Windows.Media.GlyphRun
Public Sub New (pixelsPerDip As Single)

Parametri

pixelsPerDip
Single

Valore di pixel per DIP (Density Independent Pixel), equivalente al fattore di scala.The Pixels Per Density Independent Pixel value, which is the equivalent of the scale factor. Ad esempio, se il valore DPI di uno schermo è 120 (o 1,25 perché 120/96 = 1,25), vengono tracciati 1,25 pixel per DIP.For example, if the DPI of a screen is 120 (or 1.25 because 120/96 = 1.25) , 1.25 pixel per density independent pixel is drawn. DIP è l'unità di misura usata da WPF come unità indipendente dalla risoluzione e dal valore DPI del dispositivo.DIP is the unit of measurement used by WPF to be independent of device resolution and DPIs.

GlyphRun(GlyphTypeface, Int32, Boolean, Double, IList<UInt16>, Point, IList<Double>, IList<Point>, IList<Char>, String, IList<UInt16>, IList<Boolean>, XmlLanguage)

Attenzione

Use the PixelsPerDip override

Importante

Questa API non è conforme a CLS.

Inizializza una nuova istanza della classe GlyphRun specificando le proprietà della classe.Initializes a new instance of the GlyphRun class by specifying properties of the class.

public:
 GlyphRun(System::Windows::Media::GlyphTypeface ^ glyphTypeface, int bidiLevel, bool isSideways, double renderingEmSize, System::Collections::Generic::IList<System::UInt16> ^ glyphIndices, System::Windows::Point baselineOrigin, System::Collections::Generic::IList<double> ^ advanceWidths, System::Collections::Generic::IList<System::Windows::Point> ^ glyphOffsets, System::Collections::Generic::IList<char> ^ characters, System::String ^ deviceFontName, System::Collections::Generic::IList<System::UInt16> ^ clusterMap, System::Collections::Generic::IList<bool> ^ caretStops, System::Windows::Markup::XmlLanguage ^ language);
[System.CLSCompliant(false)]
[System.Obsolete("Use the PixelsPerDip override", false)]
public GlyphRun (System.Windows.Media.GlyphTypeface glyphTypeface, int bidiLevel, bool isSideways, double renderingEmSize, System.Collections.Generic.IList<ushort> glyphIndices, System.Windows.Point baselineOrigin, System.Collections.Generic.IList<double> advanceWidths, System.Collections.Generic.IList<System.Windows.Point> glyphOffsets, System.Collections.Generic.IList<char> characters, string deviceFontName, System.Collections.Generic.IList<ushort> clusterMap, System.Collections.Generic.IList<bool> caretStops, System.Windows.Markup.XmlLanguage language);
[System.CLSCompliant(false)]
public GlyphRun (System.Windows.Media.GlyphTypeface glyphTypeface, int bidiLevel, bool isSideways, double renderingEmSize, System.Collections.Generic.IList<ushort> glyphIndices, System.Windows.Point baselineOrigin, System.Collections.Generic.IList<double> advanceWidths, System.Collections.Generic.IList<System.Windows.Point> glyphOffsets, System.Collections.Generic.IList<char> characters, string deviceFontName, System.Collections.Generic.IList<ushort> clusterMap, System.Collections.Generic.IList<bool> caretStops, System.Windows.Markup.XmlLanguage language);
[<System.CLSCompliant(false)>]
[<System.Obsolete("Use the PixelsPerDip override", false)>]
new System.Windows.Media.GlyphRun : System.Windows.Media.GlyphTypeface * int * bool * double * System.Collections.Generic.IList<uint16> * System.Windows.Point * System.Collections.Generic.IList<double> * System.Collections.Generic.IList<System.Windows.Point> * System.Collections.Generic.IList<char> * string * System.Collections.Generic.IList<uint16> * System.Collections.Generic.IList<bool> * System.Windows.Markup.XmlLanguage -> System.Windows.Media.GlyphRun
[<System.CLSCompliant(false)>]
new System.Windows.Media.GlyphRun : System.Windows.Media.GlyphTypeface * int * bool * double * System.Collections.Generic.IList<uint16> * System.Windows.Point * System.Collections.Generic.IList<double> * System.Collections.Generic.IList<System.Windows.Point> * System.Collections.Generic.IList<char> * string * System.Collections.Generic.IList<uint16> * System.Collections.Generic.IList<bool> * System.Windows.Markup.XmlLanguage -> System.Windows.Media.GlyphRun
Public Sub New (glyphTypeface As GlyphTypeface, bidiLevel As Integer, isSideways As Boolean, renderingEmSize As Double, glyphIndices As IList(Of UShort), baselineOrigin As Point, advanceWidths As IList(Of Double), glyphOffsets As IList(Of Point), characters As IList(Of Char), deviceFontName As String, clusterMap As IList(Of UShort), caretStops As IList(Of Boolean), language As XmlLanguage)

Parametri

glyphTypeface
GlyphTypeface

Valore di tipo GlyphTypeface.A value of type GlyphTypeface.

bidiLevel
Int32

Valore di tipo Int32.A value of type Int32.

isSideways
Boolean

Valore di tipo Boolean.A value of type Boolean.

renderingEmSize
Double

Valore di tipo Double.A value of type Double.

glyphIndices
IList<UInt16>

Matrice di tipo IList<T>.An array of type IList<T>.

baselineOrigin
Point

Valore di tipo Point.A value of type Point.

advanceWidths
IList<Double>

Matrice di tipo IList<T>.An array of type IList<T>.

glyphOffsets
IList<Point>

Matrice di tipo IList<T>.An array of type IList<T>.

characters
IList<Char>

Matrice di tipo IList<T>.An array of type IList<T>.

deviceFontName
String

Valore di tipo String.A value of type String.

clusterMap
IList<UInt16>

Matrice di tipo IList<T>.An array of type IList<T>.

caretStops
IList<Boolean>

Matrice di tipo IList<T>.An array of type IList<T>.

language
XmlLanguage

Valore di tipo XmlLanguage.A value of type XmlLanguage.

Attributi

GlyphRun(GlyphTypeface, Int32, Boolean, Double, Single, IList<UInt16>, Point, IList<Double>, IList<Point>, IList<Char>, String, IList<UInt16>, IList<Boolean>, XmlLanguage)

Importante

Questa API non è conforme a CLS.

Inizializza una nuova istanza della classe GlyphRun specificando le proprietà della classe.Initializes a new instance of the GlyphRun class by specifying properties of the class.

public:
 GlyphRun(System::Windows::Media::GlyphTypeface ^ glyphTypeface, int bidiLevel, bool isSideways, double renderingEmSize, float pixelsPerDip, System::Collections::Generic::IList<System::UInt16> ^ glyphIndices, System::Windows::Point baselineOrigin, System::Collections::Generic::IList<double> ^ advanceWidths, System::Collections::Generic::IList<System::Windows::Point> ^ glyphOffsets, System::Collections::Generic::IList<char> ^ characters, System::String ^ deviceFontName, System::Collections::Generic::IList<System::UInt16> ^ clusterMap, System::Collections::Generic::IList<bool> ^ caretStops, System::Windows::Markup::XmlLanguage ^ language);
[System.CLSCompliant(false)]
public GlyphRun (System.Windows.Media.GlyphTypeface glyphTypeface, int bidiLevel, bool isSideways, double renderingEmSize, float pixelsPerDip, System.Collections.Generic.IList<ushort> glyphIndices, System.Windows.Point baselineOrigin, System.Collections.Generic.IList<double> advanceWidths, System.Collections.Generic.IList<System.Windows.Point> glyphOffsets, System.Collections.Generic.IList<char> characters, string deviceFontName, System.Collections.Generic.IList<ushort> clusterMap, System.Collections.Generic.IList<bool> caretStops, System.Windows.Markup.XmlLanguage language);
[<System.CLSCompliant(false)>]
new System.Windows.Media.GlyphRun : System.Windows.Media.GlyphTypeface * int * bool * double * single * System.Collections.Generic.IList<uint16> * System.Windows.Point * System.Collections.Generic.IList<double> * System.Collections.Generic.IList<System.Windows.Point> * System.Collections.Generic.IList<char> * string * System.Collections.Generic.IList<uint16> * System.Collections.Generic.IList<bool> * System.Windows.Markup.XmlLanguage -> System.Windows.Media.GlyphRun
Public Sub New (glyphTypeface As GlyphTypeface, bidiLevel As Integer, isSideways As Boolean, renderingEmSize As Double, pixelsPerDip As Single, glyphIndices As IList(Of UShort), baselineOrigin As Point, advanceWidths As IList(Of Double), glyphOffsets As IList(Of Point), characters As IList(Of Char), deviceFontName As String, clusterMap As IList(Of UShort), caretStops As IList(Of Boolean), language As XmlLanguage)

Parametri

glyphTypeface
GlyphTypeface

Valore di tipo GlyphTypeface.A value of type GlyphTypeface.

bidiLevel
Int32

Valore di tipo Int32.A value of type Int32.

isSideways
Boolean

Valore di tipo Boolean.A value of type Boolean.

renderingEmSize
Double

Valore di tipo Double.A value of type Double.

pixelsPerDip
Single

Valore di tipo Double.A value of type Double.

glyphIndices
IList<UInt16>

Matrice di tipo IList<T>.An array of type IList<T>.

baselineOrigin
Point

Valore di tipo Point.A value of type Point.

advanceWidths
IList<Double>

Matrice di tipo IList<T>.An array of type IList<T>.

glyphOffsets
IList<Point>

Matrice di tipo IList<T>.An array of type IList<T>.

characters
IList<Char>

Matrice di tipo IList<T>.An array of type IList<T>.

deviceFontName
String

Valore di tipo String.A value of type String.

clusterMap
IList<UInt16>

Matrice di tipo IList<T>.An array of type IList<T>.

caretStops
IList<Boolean>

Matrice di tipo IList<T>.An array of type IList<T>.

language
XmlLanguage

Valore di tipo XmlLanguage.A value of type XmlLanguage.

Attributi

Si applica a