0% found this document useful (0 votes)
20 views1 page

Worksheet: Drawing Shapes

This document provides descriptions of various drawing and filling methods in the Graphics class. It lists methods such as DrawArc(), DrawBezier(), DrawClosedCurve(), and others for drawing shapes like ellipses, lines, and polygons. It also lists filling methods like FillRectangle(), FillRectangles(), and FillRegion() for filling the interiors of shapes.

Uploaded by

teklitber
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

Worksheet: Drawing Shapes

This document provides descriptions of various drawing and filling methods in the Graphics class. It lists methods such as DrawArc(), DrawBezier(), DrawClosedCurve(), and others for drawing shapes like ellipses, lines, and polygons. It also lists filling methods like FillRectangle(), FillRectangles(), and FillRegion() for filling the interiors of shapes.

Uploaded by

teklitber
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Worksheet

Explore the details of the following methods and make practice to know how they work.

Drawing Shapes
Method Description
DrawArc() Draws an arc that represents a portion of an
ellipse
DrawBezier() Draws a Bzier curve defined by four points
DrawBeziers() Draws a series of Bzier curves
DrawClosedCurve() Draws a closed curve defined by an array of
points
DrawCurve() Draws a curve defined by an array of points
DrawEllipse() Draws an ellipse defined by a bounding
rectangle specified by a pair of coordinates, a
height, and a width
DrawIcon() Draws the image represented by the specified
Icon object at the given coordinates
DrawImage() Draws an Image object at the specified
location, preserving its original size
DrawLine() Draws a line that connects the two points
DrawLines() Draws a series of line segments that connect an
array of points
DrawPath() Draws a GraphicsPath object
DrawPie() Draws a pie shape defined by an ellipse and
two radial lines
DrawPolygon() Draws a polygon defined by an array of points
DrawRectangle() Draws a rectangle specified by a point, a width,
and a height
DrawRectangles() Draws a series of rectangles
DrawString() Draws the given text string at the specified
location, with the specified Brush and Font
objects

FILL Methods of the GRAPHICS Class

Methods Description
FillRectangle() Fills the interior of a rectangle specified by a
point, a width, and a height
FillRectangles() Fills the interiors of a series of rectangles
FillRegion() Fills the interior of a Region object

You might also like