• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

bVisual

  • Home
  • Services
    • How Visio smartness can help your business
    • Visio visual in Power BI
    • Visio Consulting Services
    • Visio Bureau Services
    • Visio Training and Support Services
  • Products
    • Visio Shape Report Converter
    • SS Plus
    • LayerManager
    • visViewer
    • Metro Icons
    • Rules Tools for Visio
    • The Visio 2010 Sessions App
    • Multi-Language Text for Visio
    • Document Imager for Visio
    • multiSelect for Visio
    • pdSelect for Visio
  • Case Studies
    • Case studies overview
    • Using Visio in Education for GIS
    • Visualizing Construction Project Schedules
    • Visio Online Business Process Mapping
    • Nexans Visio Template
    • CNEE Projects, WorldCom
    • Chase Manhattan Bank
  • News
    • Recent news
    • News archive
  • Resources
    • Articles➡
      • ShapeSheet Functions A-Z
      • Comparing Visio for the Web and Desktop
      • Customising Visio Shapes for the Web App
      • Key differences between the Visio desktop and web apps
      • Using the Visio Data Visualizer in Excel
      • Using Visio in Teams
      • Creating Visio Tabs and Apps for Teams with SharePoint Framework (SPFx)
      • Designing Power Automate Flows with Microsoft Visio
      • Innovative uses of Visio Lists
    • Webcasts ➡
      • Visio in Organizations
      • My session and other Visio sessions at MSIgnite 2019
      • Power up your Visio diagrams
      • Vision up your Visio diagrams
      • The Visio 2010 MVP Sessions
    • Visio Web Learning Resources
    • Books➡
      • Visualize Complex Processes with Microsoft Visio
      • Mastering Data Visualization with Microsoft Visio
      • Microsoft Visio Business Process Diagramming and Validation
      • Visualizing Information with Microsoft Visio
  • Blog
    • Browse blog articles
    • Visio Power BI articles
    • Visio for Web articles
    • A history of messaging and encryption
  • About us
    • About bVisual
    • Testimonials
    • Bio of David Parker
    • Contact Us
    • Website Privacy Policy
    • Website terms and conditions
    • Ariba Network
You are here: Home / Visio / Visio 2013 / Improvements to Line Caps in Visio 2013

Published on October 12, 2012 by David Parker

Improvements to Line Caps in Visio 2013

I am currently developing a Visio 2010 shape which has multiple geometry sections in it, and thought I should check it in Visio 2013. To my surprise, I found a difference in the rendering of the shape’s line caps, and I thought that I had found a bug in Visio 2013, but further investigation revealed that Visio 2013 has fixed a bug in Visio 2010 (and earlier)…

I create a square shape with an inscribed triangle and changed it’s  weight to 6 pt in order to exaggerate the effects of different Line Caps in my test shape. Notice that the Line Cap can be one of three values : Round, Square or Extended, which is equivalent to 0,1 or 2 in the LineCap cell in the ShapeSheet.

image

Multiple geometry sections within a single shape are an effective technique for creating efficient shapes, and there can be 133 (I think) different geometry sections in a shape. In my test shape, I just have two sections: Geometry1 is a rectangle, and Geomtery2 is a triangle. Multiple geometry sections can be created using the Operations / Combine button, for example, but usually shape developers will edit the ShapeSheet to ensure that the formulas are correct.

image

This shape has a thick dark blue line, but a red fill. You may think that the triangle is not filled because it appears to be white, but the effect of two co-incident filled shapes is to effectively remove the fill. Note that only closed geometry sections can be filled, so, if row 4 of the Geometry 2 section did not point back to row 1, then the triangle would not be a closed geometry section, and the whole rectangle would have a red fill.

I setup the test shape with a text block that displayed the values in the LineCap, Geometry1.NoFill, Geometry1.NoLine, Geometry2.NoFill, and Geometry2.NoLine cells.

In order to make it easier to change these settings, I created a master called, Square and Triangle, which has some right-mouse actions to make editing the cell values much easier than opening up the ShapeSheet each time:

image

There are many permutations of 1 or 0 (True or False) for NoFill and NoLine for the Geometry sections, so I have just displayed four below, for each of the LineCap types (in each column).

So, in Visio 2010, notice that the Round LineCap displays the rectangle and triangle, regardless of the values in the NoFill and NoLine cells. However, the Square LineCap has an open bottom left corner in the rectangle when it does not have any fill, and the upper right corner of the triangle is open when there is no line for the rectangle. The Extended LineCap crosses the upper right corner of the triangle when the rectangle has no fill or no line, but not both.

image

However, in Visio 2013, all of the corners, of either the rectangle or triangle, are well formed, regardless of the settings for NoFill and NoLine, in either the rectangle or triangle.

image

So, my conclusion is that the rendering engine of Visio 2013 has been usefully improved!

By the way …. in Visio 2013 the LINE / Cap type options in the Format Shape panel are displayed in a different order in the Preview version … Square (1), Round (0) and Flat (2).

image

I have uploaded my test document, LineCapsTest.vsd, at ttps://skydrive.live.com/redir?resid=3350D61BC93733A9!2640 … note that it will render differently depending upon the version of Visio that you open it up in.

Related

Filed Under: Visio 2013 Tagged With: LineCap

About David Parker

David Parker has 25 years' experience of providing data visualization solutions to companies around the globe. He is a Microsoft MVP and Visio expert.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

  • LinkedIn
  • Twitter

Recent Posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Categories

Tags

Accessibility Add-Ins Connectors Containers Data Export Data Graphics Data Import Data Visualizer Educational Excel GraphDatabase Hyperlinks Icon Sets JavaScript LayerManager Layers Legend Link Data to Shapes Lists MSIgnite MVP Office365 Org Chart PowerApps PowerBI PowerQuery Processes Setup and Deployment Shape Data Shape Design ShapeSheet ShapeSheet Functions SharePoint 2013 SQL Teams Validation VBA Video Visio Visio 2007 Visio for the Web Visio Online Visio Services Visio Viewer Webinar

Footer

bVisual Profile

The UK-based independent Visio consultancy with a worldwide reach. We have over 25 years experience of providing data visualization solutions to companies around the globe.

Learn more about bVisual

  • Amazon
  • E-mail
  • Facebook
  • LinkedIn
  • Twitter
  • YouTube

Search this website

Recent posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Copyright © 2025 · Executive Pro on Genesis Framework · WordPress · Log in