# Dynamic dash offset properties of line stroke in script

**URL:** <https://forum.inductiveautomation.com/t/dynamic-dash-offset-properties-of-line-stroke-in-script/20516>\
**Category:** Ignition\
**Created:** [November 3, 2018, 2:17pm UTC](https://forum.inductiveautomation.com/t/dynamic-dash-offset-properties-of-line-stroke-in-script/20516 "2018-11-03T14:17:55Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [November 5, 2018, 2:53pm UTC](https://forum.inductiveautomation.com/t/dynamic-dash-offset-properties-of-line-stroke-in-script/20516/5 "2018-11-05T14:53:11Z")

</div>

The [SDK javadoc](http://files.inductiveautomation.com/sdk/javadoc/ignition79/795/index.html), specifically [here](http://files.inductiveautomation.com/sdk/javadoc/ignition79/795/com/inductiveautomation/vision/api/client/components/shapes/PathBasedVisionShape.html#setStrokeStyle-java.awt.Stroke-).

My first goto, however is to use @pturmel's introspect() script. Still as handy today as it was back then. 🙂

> [@Finding all available methods from a component](http://forum.inductiveautomation.com/t/finding-all-available-methods-from-a-component/9670/2):
>
> I’ve attached the introspect() function that I wrote years ago (in the FPMI days). Still handy today. I suggest you load it as a shared module, then call it like: powerTable = event.source.parent.getComponent('Power Table') shared.inspect.introspect(powerTable) inspect.py (3.09 KB) Edit: Link expired. Use the version shown below.

---

_[View the full topic](https://forum.inductiveautomation.com/t/dynamic-dash-offset-properties-of-line-stroke-in-script/20516)._
