'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 )
Parameters
- page
- Page class object.
- distance
- Distance to the cylinder axis in pixels. It is measured from the left edge in the case of a vertical cylinder and from the top edge in the case of a horizontal one.
- radius
- Cylinder radius in pixels.
- height
- Height of the cylinder segment in pixels. Height can be changed from (-radius) to (radius).
- horizontal
- If this parameter is true then the cylinder is horizontal, otherwise it is vertical.
- interpolate
- If this parameter is true then an interpolation is used during processing.
- color
- ImageGear.Core.ImGearPixel class color.