EdgeMode 列挙型

定義

テキスト以外の描画プリミティブのエッジをレンダリングする方法を指定します。

public enum class EdgeMode
public enum EdgeMode
type EdgeMode = 
Public Enum EdgeMode
継承
EdgeMode

フィールド

名前 説明
Unspecified 0

エッジ モードは指定されません。 テキスト以外の描画プリミティブの現在のエッジ モードを変更しないでください。 これが既定値です。

Aliased 1

テキスト以外の描画プリミティブのエッジをエイリアス化されたエッジとしてレンダリングします。

次の例は、 RenderOptions.SetEdgeMode メソッドを使用して、描画プリミティブのエッジ モードを Aliasedに設定する方法を示しています。

// Set the edge mode to aliased for the visual and any descendant drawing primitives it has.
RenderOptions.SetEdgeMode((DependencyObject)myVisual, EdgeMode.Aliased);
' Set the edge mode to aliased for the visual and any descendant drawing primitives it has.
RenderOptions.SetEdgeMode(CType(myVisual, DependencyObject), EdgeMode.Aliased)

注釈

テキスト オブジェクトは、常にアンチエイリアシングを使用して表示され、エッジ モードの値の設定による影響を受けません。 EllipsePolygonなど、テキスト以外の描画プリミティブの既定値はUnspecified

ビジュアル オブジェクトのエッジ モード値を設定すると、そのビジュアル オブジェクトのすべての子描画プリミティブが同じ EdgeMode 値に設定されます。

適用対象