共用方式為


GlyphRun 建構函式

定義

初始化 GlyphRun 類別的新執行個體。

多載

GlyphRun()
已淘汰.

初始化 GlyphRun 類別的新執行個體。

GlyphRun(Single)

初始化 GlyphRun 類別的新執行個體。

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

指定 GlyphRun 類別的屬性,藉以初始化該類別的新執行個體。

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

指定 GlyphRun 類別的屬性,藉以初始化該類別的新執行個體。

GlyphRun()

警告

Use the PixelsPerDip override

初始化 GlyphRun 類別的新執行個體。

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

適用於

GlyphRun(Single)

初始化 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)

參數

pixelsPerDip
Single

「每一密度像素無關的像素 (Pixels Per Density Independent Pixel)」值,相當於縮放比例。 例如,如果螢幕的 DPI 是 120 (或 1.25,因為 120/96 = 1.25),則會繪製 1.25 倍的每一密度像素無關的像素。 DIP 是 WPF 使用的度量單位 (獨立於裝置解析度和 DPI 之外)。

適用於

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

警告

Use the PixelsPerDip override

重要

此 API 不符合 CLS 規範。

指定 GlyphRun 類別的屬性,藉以初始化該類別的新執行個體。

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)

參數

glyphTypeface
GlyphTypeface

型別 GlyphTypeface 的值。

bidiLevel
Int32

型別 Int32 的值。

isSideways
Boolean

型別 Boolean 的值。

renderingEmSize
Double

型別 Double 的值。

glyphIndices
IList<UInt16>

類型為 IList<T> 的陣列。

baselineOrigin
Point

型別 Point 的值。

advanceWidths
IList<Double>

類型為 IList<T> 的陣列。

glyphOffsets
IList<Point>

類型為 IList<T> 的陣列。

characters
IList<Char>

類型為 IList<T> 的陣列。

deviceFontName
String

型別 String 的值。

clusterMap
IList<UInt16>

類型為 IList<T> 的陣列。

caretStops
IList<Boolean>

類型為 IList<T> 的陣列。

language
XmlLanguage

型別 XmlLanguage 的值。

屬性

適用於

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

重要

此 API 不符合 CLS 規範。

指定 GlyphRun 類別的屬性,藉以初始化該類別的新執行個體。

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)

參數

glyphTypeface
GlyphTypeface

型別 GlyphTypeface 的值。

bidiLevel
Int32

型別 Int32 的值。

isSideways
Boolean

型別 Boolean 的值。

renderingEmSize
Double

型別 Double 的值。

pixelsPerDip
Single

型別 Double 的值。

glyphIndices
IList<UInt16>

類型為 IList<T> 的陣列。

baselineOrigin
Point

型別 Point 的值。

advanceWidths
IList<Double>

類型為 IList<T> 的陣列。

glyphOffsets
IList<Point>

類型為 IList<T> 的陣列。

characters
IList<Char>

類型為 IList<T> 的陣列。

deviceFontName
String

型別 String 的值。

clusterMap
IList<UInt16>

類型為 IList<T> 的陣列。

caretStops
IList<Boolean>

類型為 IList<T> 的陣列。

language
XmlLanguage

型別 XmlLanguage 的值。

屬性

適用於