• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Which drawing tool for a simple task
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which drawing tool for a simple task


  • Subject: Re: Which drawing tool for a simple task
  • From: Steve Christensen <email@hidden>
  • Date: Thu, 25 Jun 2009 11:01:36 -0700

I can think of at least a couple of ways of doing that without creating a custom view:

1. Create a new image that is a composite of the original image and the border image, then set the view's image to the composite.

2. Create two image views that occupy the same space and put the border image in the back view and the original image in the front. I believe that if you set the image view style to be borderless that the view's background is not drawn so it would look like a single image.

steve


On Jun 25, 2009, at 8:30 AM, M.S. Hrishikesh wrote:

I want to display an image with a border around it. The border may be a simple coloured box or another image (like a wooden frame around an image). Can I do this using just a ImageView?

I read parts of the Graphics and drawing guide. I am not sure if I need to use a custom view for this task. Could someone point me in the right direction ?

Thanks
Hrishi

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Which drawing tool for a simple task (From: "M.S. Hrishikesh" <email@hidden>)

  • Prev by Date: Re: IBPlugin embedding question
  • Next by Date: Ideas required on testing an application install
  • Previous by thread: Re: Which drawing tool for a simple task
  • Next by thread: Application Support Directory Questions
  • Index(es):
    • Date
    • Thread