Constructor ScaleEffect
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
ScaleEffect(IDeviceEffectFactory)
public ScaleEffect(IDeviceEffectFactory factory)
Parameters
factory
IDeviceEffectFactory
ScaleEffect(IDeviceEffectFactory, IDeviceImage, Vector2Float, Point2Float, ScaleInterpolationMode, BorderMode, float)
public ScaleEffect(IDeviceEffectFactory factory, IDeviceImage input, Vector2Float scale, Point2Float centerPoint = default, ScaleInterpolationMode interpolationMode = ScaleInterpolationMode.Linear, BorderMode borderMode = BorderMode.Soft, float sharpness = 0)
Parameters
factory
IDeviceEffectFactoryinput
IDeviceImagescale
Vector2FloatcenterPoint
Point2FloatinterpolationMode
ScaleInterpolationModeborderMode
BorderModesharpness
float
ScaleEffect(IDeviceEffectFactory, IDeviceImage, float, Point2Float, ScaleInterpolationMode, BorderMode, float)
public ScaleEffect(IDeviceEffectFactory factory, IDeviceImage input, float scale, Point2Float centerPoint = default, ScaleInterpolationMode interpolationMode = ScaleInterpolationMode.Linear, BorderMode borderMode = BorderMode.Soft, float sharpness = 0)
Parameters
factory
IDeviceEffectFactoryinput
IDeviceImagescale
floatcenterPoint
Point2FloatinterpolationMode
ScaleInterpolationModeborderMode
BorderModesharpness
float