'Declaration
Public Overloads Function DrawFilledRectangle( _ ByVal ImageID As Integer, _ ByVal DstLeft As Single, _ ByVal DstTop As Single, _ ByVal Width As Single, _ ByVal Height As Single, _ ByVal FillColor As Color, _ ByVal AntiAlias As Boolean _ ) As GdPictureStatus
public GdPictureStatus DrawFilledRectangle( int ImageID, float DstLeft, float DstTop, float Width, float Height, Color FillColor, bool AntiAlias )
public function DrawFilledRectangle( ImageID: Integer; DstLeft: Single; DstTop: Single; Width: Single; Height: Single; FillColor: Color; AntiAlias: Boolean ): GdPictureStatus;
public function DrawFilledRectangle( ImageID : int, DstLeft : float, DstTop : float, Width : float, Height : float, FillColor : Color, AntiAlias : boolean ) : GdPictureStatus;
Parameters
- ImageID
- GdPicture image identifier.
- DstLeft
- Specifies the x-coordinate of the upper-left corner of the rectangle.
- DstTop
- Specifies the y-coordinate of the upper-left corner of the rectangle.
- Width
- Specifies the width of the rectangle.
- Height
- Specifies the height of the rectangle.
- FillColor
- Color of the filled rectangle. A suitable color value can be obtained by using the ARGB() method.
- AntiAlias
- Set to True to apply the Antialiasing algorithm else False.
Return Value
A member of the GdPictureStatus enumeration.