This documentation is archived and is not being maintained.
Stroke::Transform Method
Visual Studio 2010
Performs a transformation based upon the specified Matrix object.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- transformMatrix
- Type: System.Windows.Media::Matrix
The Matrix object defining the transformation.
- applyToStylusTip
- Type: System::Boolean
true to apply the transformation to the tip of the stylus; otherwise, false.
The Matrix object represents a 3x3 matrix used for transformations in two-dimensional space. Each point of the Stroke object is transformed by the supplied Matrix. For example if the original Point.X value is 100, the original Point.Y value is 55, and the transformation Matrix.Scale(0.5, 0.5), the new Point.X value is 50 and the new Point.Y value is 27.5.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: