This sample demonstrates how to create a half square, also refered to as isosceles right triangle, from a RegularPolygon(Triangle).
The article provided under the View Url provides a detailed how to step-by-step description, including the formulas to create a half square with a StrokeThickness > 0.
Under the Download Url a sample app including source code is provided that helps to calculate the required values. ...
Go to the complete details ...