SKRoundRect.TryTransform(SKMatrix, SKRoundRect) 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 bool TryTransform (SkiaSharp.SKMatrix matrix, out SkiaSharp.SKRoundRect transformed);
Parameters
- matrix
- SKMatrix
The transformation matrix.
- transformed
- SKRoundRect
The transformed rounded rectangle.
Returns
Returns a true
if the transformation was successful, otherwise false
.
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.