Method TransformShape
TransformShape<TPoint>(IEnumerable<TPoint>, Func<TPoint, TPoint>)
Transform each point in the list with the give point transformation.
public static IEnumerable<TPoint> TransformShape<TPoint>(IEnumerable<TPoint> shape, Func<TPoint, TPoint> pointTransformation)Parameters
- shapeIEnumerable<TPoint>
- List of points of the shape. 
- pointTransformationFunc<TPoint, TPoint>
- This function is used to transform all points of the shape. 
Returns
- IEnumerable<TPoint>
Type Parameters
- TPoint
- The type of point of the shapes.