setShapeType

setShapeType(int value) function

Returns or sets the geometry preset type. Note: on value changing all adjustment values will reset to their default values. Read/write ShapeType.

Error

ErrorCondition
ArgumentExceptionThrown when value is ShapeType.NotDefined or ShapeType.Custom