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


MSA altair 4X multi gas meter monitor detector w/ charger picture

MSA altair 4X multi gas meter monitor detector w/ charger

$250.00



ACTIVATE BY 2/2023 New 24 Month MSA Altair Hydrogen Sulfide Gas Monitor (H2S)  picture

ACTIVATE BY 2/2023 New 24 Month MSA Altair Hydrogen Sulfide Gas Monitor (H2S)

$59.99



MSA Altair 5X Multi-Gas Detector 10116926 -AB0613 picture

MSA Altair 5X Multi-Gas Detector 10116926 -AB0613

$1999.91



MSA 10128626 Galaxy GX2 ALTAIR 5/5X with Charging Dock picture

MSA 10128626 Galaxy GX2 ALTAIR 5/5X with Charging Dock

$1879.99



Telonic Altair 8551 Neg Crystal Detector 100KHz-1.5GHz BNC(m-f) RF Microwave picture

Telonic Altair 8551 Neg Crystal Detector 100KHz-1.5GHz BNC(m-f) RF Microwave

$256.61



MSA 10152605 XCELL ALTAIR 2X SINGLE GAS DETECTOR H2S-LC RPLCMNT SENSOR *OPENBOX* picture

MSA 10152605 XCELL ALTAIR 2X SINGLE GAS DETECTOR H2S-LC RPLCMNT SENSOR *OPENBOX*

$300.00







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