| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Methods > AddEffect Method SharpPlot.AddEffect MethodAssociates arbitrary SVG source with any standard text item. public void AddEffect( ScriptTarget target, string effect ); DescriptionThis simply inserts arbitrary SVG code into the ‘group’ tag for the text item, so almost anything goes. It could be used to make a heading ‘shadowed’, or to add animations, for example to have text slide in from the side. Check the SVG documentation for details on the syntax required for filters and animations. Examplesp.AddEffect(ScriptTarget.Heading,"#MyShadow"); sp.AddEffect(ScriptTarget.Heading,"letter-spacing:3"); See also ... |