Richard1604 Posted August 16, 2020 Share Posted August 16, 2020 Hello, I've been attempting to draw the stroke around a triangle or a triangular path but without any success despite reading the docs and searching for a similar problem. I can get the stroke to change colour on a triangle (but not draw) and the path approach doesnt seem to work either. Guidance will be appreciated. See the Pen QWNNZRY by rb1604 (@rb1604) on CodePen Link to comment Share on other sites More sharing options...
mikel Posted August 16, 2020 Share Posted August 16, 2020 Hey @Richard1604, DrawSVGPlugin allows you to progressively reveal (or hide) the stroke of an SVG <path>, <line>, <polyline>, <polygon>, <rect>, or <ellipse>. Not the SVG itself. And you could set a path to '0' or you could use a from tween. See the Pen LYNNXgd?editors=1010 by mikeK (@mikeK) on CodePen Happy drawing ... Mikel 3 Link to comment Share on other sites More sharing options...
Richard1604 Posted August 16, 2020 Author Share Posted August 16, 2020 Thanks Very much mike. i will look at this and learn... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now