Table of Contents

Method SetTransform

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

SetTransform(float, float, SKPoint)

Sets the transform to the specified values, clamping scale to MinScale/MaxScale.

public void SetTransform(float scale, float rotation, SKPoint offset)

Parameters

scale float

The desired zoom scale factor.

rotation float

The desired rotation angle in degrees.

offset SKPoint

The desired pan offset in content coordinates.