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