سؤال

Is there a way to add a blur filter to a linestyle? Such as

var myBlurFilter:BlurFilter = new BlurFilter();

something.graphics.linestyle().filters = {myBlurFilter};

obviously this would not work, but is there a way to make it work? Perhaps a different method.

هل كانت مفيدة؟

المحلول

Filters is a property of DisplayObject. Hence you should add the filter to your something object. Which means you should separate the line with the blur in different object and add filter to it, leaving other graphic not blurred :)

Cheers!

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top