Fill Rectangles
From Progzoo
Jump to:
navigation
,
search
Graphics Methods
Drawing Rectangles
Drawing Lines
Drawing Text
Polygons
Smoothing
Using Fonts
Fill Rectangles
Draw Circle
Draw Arc
Transform
Bitmaps
Creating Shapes
A Filled Rectangle
.
static void drawFlag(Graphics2D g) { g.setColor(Color.blue); g.fillRect(10,10,70,50); }
[
Font
] [
Default
] [
Show
] [
Resize
] [
History
] [
Profile
]
test text
Navigation menu
Personal tools
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Languages
Java
C#
C++
Perl
PHP
Python
Ruby
VB
Scala
Progzoo Sections
ProgZoo
Tutorials
How to...
Assessments
Help
Other
To do list
Recent changes
Progress
Random page
Toolbox
What links here
Related changes
Special pages
Printable version
Permanent link
Page information