<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jappit.com &#187; gradients</title>
	<atom:link href="http://www.jappit.com/blog/tag/gradients/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jappit.com/blog</link>
	<description>Mobile blog by Alessandro La Rosa</description>
	<lastBuildDate>Wed, 23 Nov 2011 10:38:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to draw gradients with J2ME</title>
		<link>http://www.jappit.com/blog/2008/04/12/how-to-draw-gradients-with-j2me/</link>
		<comments>http://www.jappit.com/blog/2008/04/12/how-to-draw-gradients-with-j2me/#comments</comments>
		<pubDate>Sat, 12 Apr 2008 09:55:35 +0000</pubDate>
		<dc:creator>pit</dc:creator>
				<category><![CDATA[j2me]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[forumnokia]]></category>
		<category><![CDATA[gradients]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://www.jappit.com/blog/?p=14</guid>
		<description><![CDATA[Gradients are a nice graphic element to be used within your game or application. But, wouldn&#8217;t it be great if you could use all the gradients you want, without using images? And here is the Saturday Tutorial The gradients shown in the screenshot above are generated by the following straightforward method: Gradient.gradientBox&#40;Graphics g, int color1, [...]]]></description>
			<content:encoded><![CDATA[<p>Gradients are a nice graphic element to be used within your game or application. But, wouldn&#8217;t it be great if you could use all the gradients you want, without using images?</p>
<p>And here is the Saturday Tutorial <img src='http://www.jappit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img src="http://www.jappit.com/images/blog/uploads/j2me_gradients.jpg" alt="Draw gradients with J2me" width="149" height="194" /></p>
<p>The gradients shown in the screenshot above are generated by the following straightforward method:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">Gradient.<span style="color: #006633;">gradientBox</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">Graphics</span> g, 
	<span style="color: #000066; font-weight: bold;">int</span> color1, <span style="color: #000066; font-weight: bold;">int</span> color2, 
	<span style="color: #000066; font-weight: bold;">int</span> left, <span style="color: #000066; font-weight: bold;">int</span> top, 
	<span style="color: #000066; font-weight: bold;">int</span> width, <span style="color: #000066; font-weight: bold;">int</span> height, 
	<span style="color: #000066; font-weight: bold;">int</span> orientation<span style="color: #009900;">&#41;</span></pre></div></div>

<p>For the full source code you can see the <a title="How to draw gradients with J2Me" href="http://wiki.forum.nokia.com/index.php/J2ME_Draw_Gradient">J2me Gradient tutorial</a> on Forum Nokia Wiki</p>]]></content:encoded>
			<wfw:commentRss>http://www.jappit.com/blog/2008/04/12/how-to-draw-gradients-with-j2me/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

