Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7757739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:10:18+00:00 2026-06-01T13:10:18+00:00

I have divided a rectangular shaped image into two pieces as as shown below

  • 0

I have divided a rectangular shaped image into two pieces as as shown below using masking.

|--------------\-------------------------
|               \                       |
|       1        \                      |
|                 \             2       |
|                /                      |       
|               /                       |
|--------------/-------------------------

Now I have to place them in UIView using two UIImageView. How can I know what could be relative center or origin for second image. If first image at origin 0,0 then second image origin cannot be at (1stimage width, 0) because its a irregular shape. Any suggestion would be appreciated. If I am not able to clarify it then please let me know. I will try to upload some images.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T13:10:19+00:00Added an answer on June 1, 2026 at 1:10 pm

    You need to place the two UIImageViews so that they overlap. The amount of overlap is determined by the images themselves. You can’t easily figure this out in code. You (or your artist) needs to figure out the overlap amount by examining the images. You need to store the overlap amount somewhere – either as a constant in your code, or in a data file alongside your image files – and use it to compute the position of the second UIImageView.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project divided into several sub-modules (each of them are jar libraries):
I have class that represents users. Users are divided into two groups with different
I have a grid view code below which have divided into 3 column .
I have my screen divided into two DIV s. In the left DIV I
I have a problem in HTML. I have divided the HTML page into two
I have my ASP.NET MVC 2 application divided into few areas. One of them
I have a large class, which I have divided into several different class extension
I'm drawing a circle in C# and i have divided it into some parts,i
I have a memory block that is divided into a series of location that
I have a huge matrix that I divided it into some sub matrices and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.