BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-22-2007, 03:10 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: cingular
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

NEW MKS/HPS ALUMINUM HIGH VACUUM BLANK-OFF CAP FITTING FLANGE NW16 NW 16 KF16
$4.99
NEW MKS/HPS ALUMINUM HIGH VACUUM BLANK-OFF CAP FITTING FLANGE NW16 NW 16 KF16 pictureNEW Lot of 10 Swagelok 316-NSA SS Male NPT Vacuum Fittings w/316-N0V Nuts
$60.99
NEW Lot of 10 Swagelok 316-NSA SS Male NPT Vacuum Fittings w/316-N0V Nuts pictureSMC Pneumatics XLD-40-A93A High Vacuum Valve 0.4-0.7MPa Pressure KF/NW-40
$149.99
SMC Pneumatics XLD-40-A93A High Vacuum Valve 0.4-0.7MPa Pressure KF/NW-40 pictureSupco VG64 Vacuum Gauge, Digital Display, 0-12000 microns Range, 10% Accuracy,
$182.68
Supco VG64   Vacuum Gauge, Digital Display, 0-12000 microns Range, 10% Accuracy, pictureturbo pump Varian TV-250
$2800.0
turbo pump Varian TV-250 picture






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