次の方法で共有


Device.ColorFill(Surface,Rectangle,Int32)

ColorFill メソッド

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

定義

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

パラメータ

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

対象

Device

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