Table of Contents

Method UseRotateAtTransform

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Core.dll

UseRotateAtTransform(IDeviceContext, float, Point2Float, MatrixMultiplyOrder)

public static PushTransformScope UseRotateAtTransform(this IDeviceContext deviceContext, float angle, Point2Float center, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)

Parameters

deviceContext IDeviceContext
angle float
center Point2Float
order MatrixMultiplyOrder

Returns

PushTransformScope

UseRotateAtTransform(IDeviceContext, float, float, float, MatrixMultiplyOrder)

public static PushTransformScope UseRotateAtTransform(this IDeviceContext deviceContext, float angle, float centerX, float centerY, MatrixMultiplyOrder order = MatrixMultiplyOrder.Prepend)

Parameters

deviceContext IDeviceContext
angle float
centerX float
centerY float
order MatrixMultiplyOrder

Returns

PushTransformScope