System::Drawing::Graphics::FillRectangle méthode

Graphics::FillRectangle(const SharedPtr<Brush>&, float, float, float, float) method

Remplit le rectangle spécifié avec le pinceau spécifié.

void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, float x, float y, float width, float height)
ParamètreTypeDescription
brushconst SharedPtr<Brush>&Un objet Brush à utiliser pour le remplissage
xfloatLa coordonnée X du coin supérieur gauche du rectangle à remplir
yfloatLa coordonnée Y du coin supérieur gauche du rectangle à remplir
widthfloatLa largeur du rectangle à remplir
heightfloatLa hauteur du rectangle à remplir

Voir aussi

Graphics::FillRectangle(const SharedPtr<Brush>&, int, int, int, int) method

Remplit le rectangle spécifié avec le pinceau spécifié.

void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, int x, int y, int width, int height)
ParamètreTypeDescription
brushconst SharedPtr<Brush>&Un objet Brush à utiliser pour le remplissage
xintLa coordonnée X du coin supérieur gauche du rectangle à remplir
yintLa coordonnée Y du coin supérieur gauche du rectangle à remplir
widthintLa largeur du rectangle à remplir
heightintLa hauteur du rectangle à remplir

Voir aussi

Graphics::FillRectangle(const SharedPtr<Brush>&, Rectangle) method

Remplit le rectangle spécifié avec le pinceau spécifié.

void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, Rectangle rect)
ParamètreTypeDescription
brushconst SharedPtr<Brush>&Un objet Brush à utiliser pour le remplissage
rectRectangleUn objet Rectangle qui spécifie l’emplacement et la taille du rectangle à remplir

Voir aussi

Graphics::FillRectangle(const SharedPtr<Brush>&, RectangleF) method

Remplit le rectangle spécifié avec le pinceau spécifié.

void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, RectangleF rect)
ParamètreTypeDescription
brushconst SharedPtr<Brush>&Un objet Brush à utiliser pour le remplissage
rectRectangleFUn objet RectangleF qui spécifie l’emplacement et la taille du rectangle à remplir

Voir aussi