편집

다음을 통해 공유


SKRoundRect.TryTransform(SKMatrix, SKRoundRect) Method

Definition

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