Parameters of the MSketchPane can be set using the setParams method.
setParams
For parameter constants please visit the ParameterConstants and SketchParameterConstants API.
ParameterConstants
SketchParameterConstants