EdgeMode 列挙型

定義

テキスト以外の描画プリミティブの端を、どのようにレンダリングするかを決定します。

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

フィールド

Aliased 1

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

Unspecified 0

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

次の例は、このメソッドを 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)

注釈

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

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

適用対象