diff --git a/examples/Scripts/StrokeBounds.html b/examples/Scripts/StrokeBounds.html index b2497ba9..97745253 100644 --- a/examples/Scripts/StrokeBounds.html +++ b/examples/Scripts/StrokeBounds.html @@ -83,6 +83,13 @@ rect.strokeWidth = 0.25; rect.strokeColor = 'green'; rect.fillColor = null; + + path.onMouseEnter = function() { + this.strokeColor = 'red'; + } + path.onMouseLeave = function() { + this.strokeColor = 'black'; + } } project.activeLayer.position = view.center;