Sdílet prostřednictvím


GlyphRun Konstruktory

Definice

Inicializuje novou instanci GlyphRun třídy.

Přetížení

GlyphRun()
Zastaralé.

Inicializuje novou instanci GlyphRun třídy.

GlyphRun(Single)

Inicializuje novou instanci GlyphRun třídy.

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

Inicializuje novou instanci GlyphRun třídy zadáním vlastností třídy.

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

Inicializuje novou instanci GlyphRun třídy zadáním vlastností třídy.

GlyphRun()

Upozornění

Use the PixelsPerDip override

Inicializuje novou instanci GlyphRun třídy.

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

Platí pro

GlyphRun(Single)

Inicializuje novou instanci GlyphRun třídy.

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

Parametry

pixelsPerDip
Single

Hodnota Pixels Per Density Independent Pixel, která je ekvivalentem faktoru měřítka. Pokud je například dpi obrazovky 120 (nebo 1,25, protože 120/96 = 1,25) , 1,25 pixelů na hustotu je nakreslený. DIP je jednotka měření, kterou WPF používá k tomu, aby byla nezávislá na rozlišení zařízení a dpI.

Platí pro

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

Upozornění

Use the PixelsPerDip override

Důležité

Toto rozhraní API neodpovídá specifikaci CLS.

Inicializuje novou instanci GlyphRun třídy zadáním vlastností třídy.

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)

Parametry

glyphTypeface
GlyphTypeface

Hodnota typu GlyphTypeface.

bidiLevel
Int32

Hodnota typu Int32.

isSideways
Boolean

Hodnota typu Boolean.

renderingEmSize
Double

Hodnota typu Double.

glyphIndices
IList<UInt16>

Pole typu IList<T>.

baselineOrigin
Point

Hodnota typu Point.

advanceWidths
IList<Double>

Pole typu IList<T>.

glyphOffsets
IList<Point>

Pole typu IList<T>.

characters
IList<Char>

Pole typu IList<T>.

deviceFontName
String

Hodnota typu String.

clusterMap
IList<UInt16>

Pole typu IList<T>.

caretStops
IList<Boolean>

Pole typu IList<T>.

language
XmlLanguage

Hodnota typu XmlLanguage.

Atributy

Platí pro

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

Důležité

Toto rozhraní API neodpovídá specifikaci CLS.

Inicializuje novou instanci GlyphRun třídy zadáním vlastností třídy.

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)

Parametry

glyphTypeface
GlyphTypeface

Hodnota typu GlyphTypeface.

bidiLevel
Int32

Hodnota typu Int32.

isSideways
Boolean

Hodnota typu Boolean.

renderingEmSize
Double

Hodnota typu Double.

pixelsPerDip
Single

Hodnota typu Double.

glyphIndices
IList<UInt16>

Pole typu IList<T>.

baselineOrigin
Point

Hodnota typu Point.

advanceWidths
IList<Double>

Pole typu IList<T>.

glyphOffsets
IList<Point>

Pole typu IList<T>.

characters
IList<Char>

Pole typu IList<T>.

deviceFontName
String

Hodnota typu String.

clusterMap
IList<UInt16>

Pole typu IList<T>.

caretStops
IList<Boolean>

Pole typu IList<T>.

language
XmlLanguage

Hodnota typu XmlLanguage.

Atributy

Platí pro