SKRoundRect.Transform(SKMatrix) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new rounded rectangle that is transformed by the specified matrix.
public SkiaSharp.SKRoundRect Transform (SkiaSharp.SKMatrix matrix);
Parameters
- matrix
- SKMatrix
The transformation matrix.
Returns
Returns a new, transformed rectangle if the matrix was valid, otherwise null.
Remarks
The transformation matrix must be a scale and/or translation matrix.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.