Edit this page

Telerik.Web.UI.Diagram.ShapeStrokeConverter

Serialization JS converter class for ShapeStroke

Inheritance Hierarchy

  • System.Object
  • System.Web.Script.Serialization.JavaScriptConverter
  • Telerik.Web.UI.ExplicitJavaScriptConverter
  • Telerik.Web.UI.Diagram.ShapeStrokeConverter

Methods

AddScript

Serialize the value as a script, not a string. Should be used alongside with

Parameters

state System.Collections.Generic.IDictionary{System.String,System.Object}

The state collection for the values

key System.String

The key in the JSON object

value System.Object

The value in the JSON obejct

Returns

System.Void