Back to project page android-jplay.
The source code is released under:
Copyright (c) Nikolaj Baer All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. ...
If you think the Android project android-jplay listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nikolajbaer.awtrender; // w w w.j ava2s . com import com.nikolajbaer.render.RenderObject; import com.nikolajbaer.render.Renderable; import java.awt.*; import java.awt.geom.*; public class RectRenderObject extends PolygonRenderObject { public RectRenderObject(int width,int height){ super(); x_pts=new int[]{0,width,width,0}; y_pts=new int[]{0,0,height,height}; m_color=Color.gray; } }