Parameters of the MSketchPane can be set by using the setParams method. For the parameter constants, see the ParameterConstants and the SketchParameterConstants API.
setParams
ParameterConstants
SketchParameterConstants