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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.