次の方法で共有


Device.ColorFill(Surface,Rectangle,Color)

ColorFill メソッド

アプリケーションは D3DPOOL_DEFAULT サーフェイスの矩形領域を指定した色で塗りつぶすことができる。

定義

Visual Basic Public Sub ColorFill( _
    ByVal surface As Surface, _
    ByVal rect As Rectangle, _
    ByVal color As Color _
)
C# public void ColorFill(
    Surface surface,
    Rectangle rect,
    Color color
);
Managed C++ public: void ColorFill(
    Surfacesurface,
    Rectangle rect,
    Color color
);
JScript public function ColorFill(
    surface : Surface,
    rect : Rectangle,
    color : Color
) : void;

パラメータ

surface Microsoft.DirectX.Direct3D.Surface.
rect System.Drawing.Rectangle.
color System.Drawing.Color.

対象

Device

© 2002 Microsoft Corporation. All rights reserved. Terms of use.