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.