Class parameter default?

enonod

Well-Known Member
Licensed User
Longtime User
When setting up the required parameters for initializing a class is it possible to declare defaults for when a parameter is left off (deliberately)?

If so, must the said parameter be the last in the list or can a blank be left between commas?

i.e. if StrokeWidth were always to be a particular value but I don't wish to hard code it in case on rare occasions I want an object with a thicker line.
 
Top