Ryan Rampersad
Opinions, Thoughts and Ideas - PHP, Java and Javascript
  • Home
  • About
  • Contact
Browse: Home / sides

sides

Greenfoot Partial Square

GreefootImage drawRect Missing Sides

By Ryan on December 18, 2009

Today I was trying to draw a simple rectangle in Greenfoot. Images can dynamically made with the GreenfootImage class. When I drew my rectangle today, it was missing its bottom and right sides! My initial code looked something like this: // code inside of Actor called Thing public Thing() { draw(); } public void act() [...]

Posted in Java, Tips | Tagged greenfoot drawing drawRect, image, missing, sides | Leave a response

Recent Posts

  • Update Ubuntu via Terminal
  • How to install libmysqlclient15off on Ubuntu 10.04
  • The Great iPhone Price
  • My Top 5 AP Computer Science Tips
  • Ubuntu Username/Password On Live CD

Tags

(fluff)Grabber ap Apple array beta blog blogs Browser Browsers CakePHP chrome CSS Design Error exam facebook Firefox fluff friends fluff grabber free Google html ib iGoogle internet explorer Java Javascript linux Microsoft model Mootools music PHP plurk review School SEO solution string Tips ubuntu update Windows windows 7 Wordpress

Search

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
QC: