# How to Bind Line Width (a part of Stroke Style)?

**URL:** <https://forum.inductiveautomation.com/t/how-to-bind-line-width-a-part-of-stroke-style/10194>\
**Category:** Ignition\
**Created:** [July 2, 2015, 2:20pm UTC](https://forum.inductiveautomation.com/t/how-to-bind-line-width-a-part-of-stroke-style/10194 "2015-07-02T14:20:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [July 2, 2015, 8:45pm UTC](https://forum.inductiveautomation.com/t/how-to-bind-line-width-a-part-of-stroke-style/10194/2 "2015-07-02T20:45:23Z")

</div>

Hi!

The Stroke Style is a java.awt.BasicStroke construct. From the [docs.java.com](http://docs.oracle.com/javase/7/docs/api/java/awt/BasicStroke.html#createStrokedShape%28java.awt.Shape%29):

[This website](http://docstore.mik.ua/orelly/java-ent/jfc/ch04_05.htm) has a pretty fair explanation of the different style options.

I made up a window that illustrates all five methods. That way, you can decide case-by-case what will work best for you. 🙂  
[Stroke Styles Demo\_2018-11-05\_0746.proj](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/895f3d53fe92ade1576c0f686ed3f22ea5af77f7.proj) (16.3 KB)

Project scripts for construction or inspection. Described in posts below.  
[stroke\_2017-08-01\_0533.proj](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/72bf07d771e17779f42c4cfcc1564941de56bb1d.proj) (1.9 KB)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/85b88f3c3beb7c5dbf2299043299e8a59f86fed8.png)

EDIT: File re-uploaded… again… 😕

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-bind-line-width-a-part-of-stroke-style/10194)._
