Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

Skew Labels

Thread view: 
vidhi - 08 Dec 2005 11:06 GMT
I have an indent image at cretin angle (to look it like 3D), and I put
it in the back of an Label, with grid format there are several labels
on it which indicates as tiles further they used for path finding.

My problem is the image is in parallelogram shape but the tiles are
rectangles so it didn't fit perfectly.

Please hint me way to make my Labels skew or any way to make them in
parallelogram shape.

Thanks for your suggestions in advance
zero - 08 Dec 2005 12:14 GMT
"vidhi" <vidhidwivedi@gmail.com> wrote in news:1134039990.652704.23330
@g43g2000cwa.googlegroups.com:

> I have an indent image at cretin angle (to look it like 3D), and I put
> it in the back of an Label, with grid format there are several labels
[quoted text clipped - 7 lines]
>
> Thanks for your suggestions in advance

What image format supports non-rectangular images?

I would suggest opening the image file in an image editor, and adding a
transparent background to make it rectangular.

Signature

Beware the False Authority Syndrome

vidhi - 08 Dec 2005 12:31 GMT
actualy the problem is not with image. its the label who disturbs.

because indent image gives 3D look but retangular label disturbs the
tiles path.

if i can make label with parallalogram shape the it will be fits with
the background image
Oliver Wong - 09 Dec 2005 20:14 GMT
> What image format supports non-rectangular images?

   Vector based images (as opposed to raster based images) can have
arbitrary shapes. The "surface area" of the images don't even need to be
continuous.

   - Oliver
vidhi - 10 Dec 2005 07:55 GMT
Please your comment is not clear to me. Its so nice of you if you
discribes it with some clearty.
Luc The Perverse - 10 Dec 2005 10:43 GMT
> Please your comment is not clear to me. Its so nice of you if you
> discribes it with some clearty.

You failed to quote the original post - making your post unclear to me and
the majority of the rest of the group

--
LTP

:)
vidhi - 10 Dec 2005 12:47 GMT
i am sorry i not let u explain any thing.

but my actual problem is what i want ot make my labels in parallalogram
shape so that they can fit for an image of parallogram shape as tiles.

i found way to shear or rotate text of label by Graphics 2D but it
does't changes the shape of label
Oliver Wong - 12 Dec 2005 18:34 GMT
> Please your comment is not clear to me. Its so nice of you if you
> discribes it with some clearty.

   I was not answering your question, as I don't know how to make the
parallelogram-shaped JLabels. I was answering Zero's question of "What image
format supports non-rectangular images?" Sorry.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.