BitmapScalingMode
BitmapScalingMode
BitmapScalingMode
BitmapScalingMode
Enum
定義
ビットマップ イメージのスケーリングに使用するアルゴリズムを指定します。Specifies which algorithm is used to scale bitmap images.
public enum class BitmapScalingMode
public enum BitmapScalingMode
type BitmapScalingMode =
Public Enum BitmapScalingMode
- 継承
フィールド
Fant Fant Fant Fant | 2 | 非常に高品質の Fant ビットマップ スケーリングを使用します。他のすべてのビットマップ スケーリング モードより遅くなりますが、出力の品質は高くなります。Use very high quality Fant bitmap scaling, which is slower than all other bitmap scaling modes, but produces higher quality output. |
HighQuality HighQuality HighQuality HighQuality | 2 | 高品質のビットマップ スケーリングを使用します。LowQuality モードより遅くなりますが、出力の品質は高くなります。Use high quality bitmap scaling, which is slower than LowQuality mode, but produces higher quality output. HighQuality モードは、Fant モードと同じです。The HighQuality mode is the same as the Fant mode. |
Linear Linear Linear Linear | 1 | 線形ビットマップ スケーリングを使用します。HighQuality モードより速くなりますが、出力の品質は低くなります。Use linear bitmap scaling, which is faster than HighQuality mode, but produces lower quality output. |
LowQuality LowQuality LowQuality LowQuality | 1 | バイリニア ビットマップ スケーリングを使用します。HighQuality モードより速くなりますが、出力の品質は低くなります。Use bilinear bitmap scaling, which is faster than HighQuality mode, but produces lower quality output. LowQuality モードは、Linear モードと同じです。The LowQuality mode is the same as the Linear mode. |
NearestNeighbor NearestNeighbor NearestNeighbor NearestNeighbor | 3 | 最近傍ビットマップ スケーリングを使用します。ソフトウェア ラスタライザーを使用する場合は、LowQuality モードよりもパフォーマンスが向上します。Use nearest-neighbor bitmap scaling, which provides performance benefits over LowQuality mode when the software rasterizer is used. このモードは、ビットマップの拡大によく使用されます。This mode is often used to magnify a bitmap. |
Unspecified Unspecified Unspecified Unspecified | 0 | 既定のビットマップ スケーリング モード Linear を使用します。Use the default bitmap scaling mode, which is Linear. |
例
次の例は、設定する方法を示します、LowQualityイメージ オブジェクト。The following example shows how to set the LowQuality for an image object.
// Set the bitmap scaling mode for the image to render faster.
RenderOptions.SetBitmapScalingMode(MyImage, BitmapScalingMode.LowQuality);
' Set the bitmap scaling mode for the image to render faster.
RenderOptions.SetBitmapScalingMode(MyImage, BitmapScalingMode.LowQuality)
注釈
ビットマップのスケーリングをアニメーション化するには、既定高品質のイメージが再サンプリング アルゴリズム フレーム レートが低下するための十分なシステム リソースが消費する場合ができます。When animating the scale of any bitmap, the default high-quality image re-sampling algorithm can sometimes consume sufficient system resources to cause frame rate degradation. このフレーム レートの低下には、アニメーションのフレームをスキップなったりする可能性があります。This frame rate degradation can cause animations to skip frames or stutter. 設定して、BitmapScalingModeのプロパティ、 RenderOptions LowQuality にオブジェクトのビットマップをスケーリングするときより滑らかなアニメーションを作成することができます。By setting the BitmapScalingMode property of the RenderOptions object to LowQuality you can create a smoother animation when scaling a bitmap.
適用対象
こちらもご覧ください
フィードバック
お客様のご意見をお寄せください。 お寄せいただく内容の種類を選択:
このフィードバック システムは、GitHub Issues を利用して構築されています。 詳しくは、ブログをご覧ください。
フィードバックを読み込んでいます...