Compartir a través de


GlyphRun Constructores

Definición

Inicializa una nueva instancia de la clase GlyphRun.

Sobrecargas

GlyphRun()
Obsoletos.

Inicializa una nueva instancia de la clase GlyphRun.

GlyphRun(Single)

Inicializa una nueva instancia de la clase GlyphRun.

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

Inicializa una nueva instancia de la clase GlyphRun mediante la especificación de las propiedades de la clase.

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

Inicializa una nueva instancia de la clase GlyphRun mediante la especificación de las propiedades de la clase.

GlyphRun()

Precaución

Use the PixelsPerDip override

Inicializa una nueva instancia de la clase GlyphRun.

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

Se aplica a

GlyphRun(Single)

Inicializa una nueva instancia de la clase GlyphRun.

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

Parámetros

pixelsPerDip
Single

Valor de los píxeles por píxel independiente de la densidad, que es el equivalente al factor de escala. Por ejemplo, si el valor de PPP de una pantalla es 120 (o 1,25 porque 120/96 = 1,25), se dibujan 1,25 píxeles por píxel independiente de la densidad. DIP es la unidad de medida usada por WPF para ser independiente de la resolución del dispositivo y de los PPP.

Se aplica a

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

Precaución

Use the PixelsPerDip override

Importante

Esta API no es conforme a CLS.

Inicializa una nueva instancia de la clase GlyphRun mediante la especificación de las propiedades de la clase.

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)]
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)]
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)>]
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)>]
[<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
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)

Parámetros

glyphTypeface
GlyphTypeface

Valor de tipo GlyphTypeface.

bidiLevel
Int32

Valor de tipo Int32.

isSideways
Boolean

Valor de tipo Boolean.

renderingEmSize
Double

Valor de tipo Double.

glyphIndices
IList<UInt16>

Matriz de tipo IList<T>.

baselineOrigin
Point

Valor de tipo Point.

advanceWidths
IList<Double>

Matriz de tipo IList<T>.

glyphOffsets
IList<Point>

Matriz de tipo IList<T>.

characters
IList<Char>

Matriz de tipo IList<T>.

deviceFontName
String

Valor de tipo String.

clusterMap
IList<UInt16>

Matriz de tipo IList<T>.

caretStops
IList<Boolean>

Matriz de tipo IList<T>.

language
XmlLanguage

Valor de tipo XmlLanguage.

Atributos

Se aplica a

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

Importante

Esta API no es conforme a CLS.

Inicializa una nueva instancia de la clase GlyphRun mediante la especificación de las propiedades de la clase.

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)

Parámetros

glyphTypeface
GlyphTypeface

Valor de tipo GlyphTypeface.

bidiLevel
Int32

Valor de tipo Int32.

isSideways
Boolean

Valor de tipo Boolean.

renderingEmSize
Double

Valor de tipo Double.

pixelsPerDip
Single

Valor de tipo Double.

glyphIndices
IList<UInt16>

Matriz de tipo IList<T>.

baselineOrigin
Point

Valor de tipo Point.

advanceWidths
IList<Double>

Matriz de tipo IList<T>.

glyphOffsets
IList<Point>

Matriz de tipo IList<T>.

characters
IList<Char>

Matriz de tipo IList<T>.

deviceFontName
String

Valor de tipo String.

clusterMap
IList<UInt16>

Matriz de tipo IList<T>.

caretStops
IList<Boolean>

Matriz de tipo IList<T>.

language
XmlLanguage

Valor de tipo XmlLanguage.

Atributos

Se aplica a