Overload | Description |
---|---|
Draw3dShape(Graphics,SpecialEffectsShape,Rectangle,Color,Image,Rectangle,SpecialEffectsBackStyle,Color,SpecialEffectsFillStyle,Color,SpecialEffectsBorderStyle,Int32,Color,Color,SpecialEffectsInnerStyle,Int32,Color,Color,SpecialEffectsOuterStyle,Int32,Int32,Int32,Color,Region) | Draws the specified three-dimensional shape onto the target device context using the specified color, style, and size. |
Draw3dShape(IntPtr,SpecialEffectsShape,Rectangle,Color,IntPtr,Rectangle,SpecialEffectsBackStyle,Color,SpecialEffectsFillStyle,Color,SpecialEffectsBorderStyle,Int32,Color,Color,SpecialEffectsInnerStyle,Int32,Color,Color,SpecialEffectsOuterStyle,Int32,Int32,Int32,Color,IntPtr) | Draws the specified three-dimensional shape onto the target device context using the specified color, style, and size. |
This example shows the minimum requirements for using the Draw3dShape method.
Visual Basic | Copy Code |
---|---|
Public Sub Draw3dShape(ByVal g As Graphics, ByVal destRect As Rectangle) |
C# | Copy Code |
---|---|
public void Draw3dShape(Graphics g, Rectangle destRect) |
Use backImage and backRect to place an image from another device context onto the background of the shape.
For general information, refer to Implementing Special Effects .
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family