BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-22-2007, 03:10 PM   #1
rock_win
Knows Where the Search Button Is
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: cingular
Posts: 33
Default filledPath/Shaded: Unable to get Offsets

Please Login to Remove!

Hi

I'm trying to draw a polygon using the Offset argument given in filledPath and drawShadedFilledPath methods under Graphics class.

I have even tried to draw a simple square with it.But every time i get IllegalArgumentException.

I'm able to see the square , if i set the offests to null.hence, i think theres something with offests only.

the arrays are something like.

x[]= { 10,10,25,85,100,100};
y[]= {20,5,5,5,5,20};
offset[]={0,3,4,6};

It would be veru helpful , i you can explain my mistake or help me understand the way these offsets work.

Thanks!
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


5V Pressure Transducer or Sender 30psi-1600Psi for Fuel Diesel Oil Air Water picture

5V Pressure Transducer or Sender 30psi-1600Psi for Fuel Diesel Oil Air Water

$20.99



Grommet Machine Commercial Grade Automatic Grommet Punch Transducer Techniques picture

Grommet Machine Commercial Grade Automatic Grommet Punch Transducer Techniques

$9500.00



US Stock 110VAC 60W 40KHz Ultrasonic Cleaning Transducer Cleaner & Driver Board picture

US Stock 110VAC 60W 40KHz Ultrasonic Cleaning Transducer Cleaner & Driver Board

$50.53



60W 40KHz Ultrasonic Cleaning Transducer Cleaner + Power Driver Board 110V AC US picture

60W 40KHz Ultrasonic Cleaning Transducer Cleaner + Power Driver Board 110V AC US

$34.99



60W 40KHz Ultrasonic Piezoelectric Transducer Cleaner High Conversion Efficiency picture

60W 40KHz Ultrasonic Piezoelectric Transducer Cleaner High Conversion Efficiency

$16.14



1/8NPT'' 5-1600 PSI Fuel Pressure Transducer Sender 5V DC For Oil Fuel Air Water picture

1/8NPT'' 5-1600 PSI Fuel Pressure Transducer Sender 5V DC For Oil Fuel Air Water

$17.88







Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.