ImageGear22.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : Pinch Method |
'Declaration Public Shared Sub Pinch( _ ByVal page As ImGearRasterPage, _ ByVal center As ImGearPoint, _ ByVal radius As Integer, _ ByVal strength As Single, _ ByVal interpolate As Boolean, _ ByVal color As ImGearPixel _ )
'Usage Dim page As ImGearRasterPage Dim center As ImGearPoint Dim radius As Integer Dim strength As Single Dim interpolate As Boolean Dim color As ImGearPixel ImGearEffects.Pinch(page, center, radius, strength, interpolate, color)
public static void Pinch( ImGearRasterPage page, ImGearPoint center, int radius, float strength, bool interpolate, ImGearPixel color )
public: static void Pinch( ImGearRasterPage* page, ImGearPoint center, int radius, float strength, bool interpolate, ImGearPixel* color )
public: static void Pinch( ImGearRasterPage^ page, ImGearPoint center, int radius, float strength, bool interpolate, ImGearPixel^ color )
// Pinches an image. // Point at which to pinch, center of image. ImGearPoint igPoint = new ImGearPoint(); igPoint.X = igRasterPage.DIB.Width / 2; igPoint.Y = igRasterPage.DIB.Height / 2; // Pinch using a 128 pixel radius and a strength of 5, interpolation on and no fill color. ImGearEffects.Pinch(igRasterPage, igPoint, 128, (float)5.0, true, null);
' Pinches an image. ' Point at which to pinch, center of image. Dim igPoint As New ImGearPoint() igPoint.X = igRasterPage.DIB.Width / 2 igPoint.Y = igRasterPage.DIB.Height / 2 ' Pinch using a 128 pixel radius and a strength of 5, interpolation on and no fill color. ImGearEffects.Pinch(igRasterPage, igPoint, 128, CSng(5), True, Nothing)