ScaleAt(Double, Double, Double, Double) Method

Definition

Assembly PanAndZoom.dll

Creates a matrix that is scaling from a specified center.

public static Matrix ScaleAt(double scaleX, double scaleY, double centerX, double centerY)

Parameters

scaleX
Double

Scaling factor that is applied along the x-axis.

scaleY
Double

Scaling factor that is applied along the y-axis.

centerX
Double

The center X-coordinate of the scaling.

centerY
Double

The center Y-coordinate of the scaling.

Returns

Avalonia.Matrix
The created scaling matrix.