public Bitmap TransformedTexture()
{
YLScsDrawing.Imaging.Filters.FreeTransform filter = new YLScsDrawing.Imaging.Filters.FreeTransform();
filter.Bitmap = WallTexture;
// assign four corners of the new perspective shape
// 1 ----------------- 2
// | |
// 4 ----------------- 3
filter.VertexLeftTop = Point1.ToPoint();
filter.VertexTopRight = Point2.ToPoint();
filter.VertexBottomLeft = Point4.ToPoint();
filter.VertexRightBottom = Point3.ToPoint();
return(filter.Bitmap);
}