/// <summary>
 /// Appends a centered rotation matrix using the given rotation in radians.
 /// </summary>
 /// <param name="radians">The amount of rotation, in radians.</param>
 /// <returns>The <see cref="ProjectiveTransformBuilder"/>.</returns>
 public ProjectiveTransformBuilder AppendRotationRadians(float radians)
 => this.Append(size => new Matrix4x4(TransformUtilities.CreateRotationMatrixRadians(radians, size)));
示例#2
0
 /// <summary>
 /// Appends a rotation matrix using the given rotation angle in radians
 /// and the image center point as rotation center.
 /// </summary>
 /// <param name="radians">The amount of rotation, in radians.</param>
 /// <returns>The <see cref="AffineTransformBuilder"/>.</returns>
 public AffineTransformBuilder AppendRotationRadians(float radians)
 => this.Append(size => TransformUtilities.CreateRotationMatrixRadians(radians, size));