This article describes the usage of Shear in C#. Share it for your reference. The details are as follows:
using System; using ; using ; using ; using ; using ; using ; using .Drawing2D; namespace advanced_drawing { public partial class Form8 : Form { public Form8() { InitializeComponent(); } private void Form8_Paint(object sender, PaintEventArgs e) { RectangleF rect = new RectangleF(0, 0, 100, 50); StringFormat format = new StringFormat(); = ; = ; Matrix matrix = new Matrix(); (.5f, 0f);//Shear only in the X direction (200,0); Graphics g=; = matrix; ("zhuzhao", , , rect, format); (, , , , ); } } }
I hope this article will be helpful to everyone's C# programming.