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

  • Home
  • SEARCH
  • 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 9238581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:47:44+00:00 2026-06-18T07:47:44+00:00

I want to draw polygon as per given in attachment ! Is it possible

  • 0

I want to draw polygon as per given in attachment! Is it possible to do so ? One more thing about polygon, I want to create it as UIView. Just like as we create rectangle and square. Because I need to use “tag” property. Is it possible to create polygon in such a way ?

I have gone through another idea that I should create three views and attach with eachother (given in attachment).

You can consider some view frames as per example..

View 1) CGRectMake ( 0,0,50,50);

View 2) CGRectMake ( 50,0,50,50);

View 3) CGRectMake ( 50,50,50,50);

I can create three views but how to concatenate these views and make one view ( Our Polygon )?

Can you give me solution or any advice to implement such problem ?

  • 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-18T07:47:45+00:00Added an answer on June 18, 2026 at 7:47 am

    The entire shape of the UIView will have to be square. You can’t create a UIView that isn’t square/rectangular.

    You can draw it using UIBezierPath…

    UIBezierPath *path = [[UIBezierPath alloc] init];
    
    [path moveToPoint:CGPointMake(0, 0)];
    [path addLineToPoint:CGPointMake(100, 0)];
    [path addLineToPoint:CGPointMake(100, 100)];
    ... and so on.
    

    Then in drawRect you can…

    [path stroke];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to draw an area from given points on a map using the
i want to draw zebra lines in my form not a table, just lines
I've set of n points and I want to draw a n-sided polygon using
i need to draw a polygon of n sides given 2 points (the center
How to draw custom polygon from vertices in libgdx? I want to draw any
I want to draw a polygon by connecting markers in googlemap.Time is associated with
i want to update a polygon i draw on the mapview for every zoomlevel.
I am trying to use draw feature of openlayer (polygon). It is possible for
I am trying to create 10.000 hexagon connected each other like bee combs.I want
I'm using d3 (more like learning to use) to create a choropleth map. I've

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.