ImageGear21.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : WarpCylinder Method |
'Declaration Public Shared Sub WarpCylinder( _ ByVal page As ImGearRasterPage, _ ByVal distance As Integer, _ ByVal radius As Integer, _ ByVal height As Integer, _ ByVal horizontal As Boolean, _ ByVal interpolate As Boolean, _ ByVal color As ImGearPixel _ )
'Usage Dim page As ImGearRasterPage Dim distance As Integer Dim radius As Integer Dim height As Integer Dim horizontal As Boolean Dim interpolate As Boolean Dim color As ImGearPixel ImGearEffects.WarpCylinder(page, distance, radius, height, horizontal, interpolate, color)
public static void WarpCylinder( ImGearRasterPage page, int distance, int radius, int height, bool horizontal, bool interpolate, ImGearPixel color )
public: static void WarpCylinder( ImGearRasterPage* page, int distance, int radius, int height, bool horizontal, bool interpolate, ImGearPixel* color )
public: static void WarpCylinder( ImGearRasterPage^ page, int distance, int radius, int height, bool horizontal, bool interpolate, ImGearPixel^ color )
// Warp the image around a vertical cylinder, 300 pixels from the left edge, // with a 200 pixel radius and 50 pixels below the image. ImGearEffects.WarpCylinder(igRasterPage, 300, 200, -50, false, true, null);
' Warp the image around a vertical cylinder, 300 pixels from the left edge, ' with a 200 pixel radius and 50 pixels below the image. ImGearEffects.WarpCylinder(igRasterPage, 300, 200, -50, False, True, _ Nothing)