Modifier

Partager via


SKRoundRect.Transform(SKMatrix) Method

Definition

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